Index: sky/engine/core/painting/Point.dart |
diff --git a/sky/engine/core/painting/Point.dart b/sky/engine/core/painting/Point.dart |
index 418660537be7c5d2abe6f0cd2fff947609ddce59..169edd6959605d0f550df1ec9894da4a8f2a1418 100644 |
--- a/sky/engine/core/painting/Point.dart |
+++ b/sky/engine/core/painting/Point.dart |
@@ -15,6 +15,8 @@ class Point { |
Size operator -(Point other) => new Size(x - other.x, y - other.y); |
Point operator +(Size size) => new Point(x + size.width, y + size.height); |
+ static const Point origin = const Point(0.0, 0.0); |
+ |
// does the equivalent of "return this - Point(0,0)" |
Size toSize() => new Size(x, y); |