Rectangle Conversion (RectangleF to Rectangle) |
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static explicit operator Rectangle (
RectangleF rectangle
)
Public Shared Narrowing Operator CType (
rectangle As RectangleF
) As Rectangle
F# does not support the declaration of new casting operators.
Parameters
- rectangle
- Type: Eto.DrawingRectangleF
Point to convert
Return Value
Type:
RectangleA new instance of a Rectangle with the value of the specified
rectangleSee Also