Exemplo n.º 1
0
 public static global::Android.Graphics.Rect ToRect(this Praeclarum.Graphics.RectangleF rect)
 {
     return(new global::Android.Graphics.Rect((int)rect.Left, (int)rect.Top, (int)rect.Right, (int)rect.Bottom));
 }
Exemplo n.º 2
0
 public static NativeRect ToRectangleF(this Praeclarum.Graphics.RectangleF rect)
 {
     return(new NativeRect(rect.Left, rect.Top, rect.Width, rect.Height));
 }