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)); }
public static NativeRect ToRectangleF(this Praeclarum.Graphics.RectangleF rect) { return(new NativeRect(rect.Left, rect.Top, rect.Width, rect.Height)); }