Click or drag to resize

RectangleTruncate Method

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
)

Parameters

rectangle
Type: Eto.DrawingRectangleF
Rectangle to truncate

Return Value

Type: Rectangle
A new instance of a Rectangle with truncated X, Y, Width, and Height values
See Also