public static BaseRectangle GetBaseWithRectangleF(System.Drawing.RectangleF frame) { return (BaseRectangle)(new Rectangle(frame)); }