Returns a new Rectangle copied from the supplied RectangleF. Coordinates will be truncated to integers.
Syntax

[C#]

static Rectangle Truncate(RectangleF rect);

[Visual Basic]

Shared Function Truncate(rect As RectangleF) As Rectangle
Params
Name Description
rect The RectangleF.
return The new resultant rectangle.
Notes

None.

Example

None.