public static System.Drawing.RectangleF GetRectangleF(BaseRectangle rectangle) { return new System.Drawing.RectangleF( (float)(rectangle.TopLeft.X), (float)(rectangle.TopLeft.Y), (float)(rectangle.Width), (float)(rectangle.Height)); }
public System.Drawing.RectangleF ToRectangleF() { return(Rectangle.GetRectangleF((BaseRectangle)this)); }