Converts a floating point
rectangle to an integral
Rectangle by truncating the X, Y, Width, and Height values
Namespace:
Eto.Drawing
Assembly:
Eto (in Eto.dll) Version: 2.5.3-dev
Syntax public static Rectangle Truncate(
RectangleF rectangle
)
Public Shared Function Truncate (
rectangle As RectangleF
) As Rectangle
static member Truncate :
rectangle : RectangleF -> Rectangle
Parameters
- rectangle
- Type: Eto.DrawingRectangleF
Rectangle to truncate
Return Value
Type:
RectangleA new instance of a Rectangle with truncated X, Y, Width, and Height values
See Also