OSDN Git Service

321
[psychlops/silverlight.git] / dev3 / psychlops / core / graphic / shape.cs
index 71f33cb..ffefeea 100644 (file)
@@ -121,6 +121,10 @@ namespace Psychlops{
                        Main.drawable.rect(this, Color.white);\r
                }\r
 \r
+               public double left   { get { return v1.x; } }\r
+               public double top    { get { return v1.y; } }\r
+               public double right  { get { return v2.x; } }\r
+               public double bottom { get { return v2.y; } }\r
                public double width { get { return Math.abs(v1.x - v2.x); } }\r
                public double height { get { return Math.abs(v1.y - v2.y); } }\r
 \r