RectangleF Conversion (Rectangle to RectangleF) |
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static implicit operator RectangleF (
Rectangle rectangle
)
Public Shared Widening Operator CType (
rectangle As Rectangle
) As RectangleF
F# does not support the declaration of new casting operators.
Parameters
- rectangle
- Type: Eto.DrawingRectangle
Point to convert
Return Value
Type:
RectangleFA new instance of a RectangleF with the value of the specified
rectangleRemarks
Since no precision is lost, this can be implicit.
See Also