Author: miguel
Date: 2007-06-19 14:40:51 -0400 (Tue, 19 Jun 2007)
New Revision: 80223
Modified:
trunk/olive/class/agclr/System.Windows/ChangeLog
trunk/olive/class/agclr/System.Windows/Rect.cs
Log:
Add more stuff to Rect
Modified: trunk/olive/class/agclr/System.Windows/ChangeLog
===================================================================
--- trunk/olive/class/agclr/System.Windows/ChangeLog 2007-06-19 18:40:22 UTC
(rev 80222)
+++ trunk/olive/class/agclr/System.Windows/ChangeLog 2007-06-19 18:40:51 UTC
(rev 80223)
@@ -1,3 +1,7 @@
+2007-06-19 Miguel de Icaza <[EMAIL PROTECTED]>
+
+ * Rect.cs: Add more stuff to rect.
+
2007-06-19 Jackson Harper <[EMAIL PROTECTED]>
* ResourceCollection.cs: These have a DependencyObject child type.
Modified: trunk/olive/class/agclr/System.Windows/Rect.cs
===================================================================
--- trunk/olive/class/agclr/System.Windows/Rect.cs 2007-06-19 18:40:22 UTC
(rev 80222)
+++ trunk/olive/class/agclr/System.Windows/Rect.cs 2007-06-19 18:40:51 UTC
(rev 80223)
@@ -44,5 +44,25 @@
{
return String.Format ("{0},{1},{2},{3}", x, y, w, h);
}
+
+ public double X {
+ get { return x; }
+ set { x = value; }
+ }
+
+ public double Y {
+ get { return y; }
+ set { y = value; }
+ }
+
+ public double Width {
+ get { return w; }
+ set { w = value; }
+ }
+
+ public double Height {
+ get { return h; }
+ set { h = value; }
+ }
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches