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