Click or drag to resize
DigitalRuneRectangleFToRectangle Method
Converts the RectangleF (floating-point, single precision) to a Rectangle (integer precision).

Namespace: DigitalRune.Game.UI
Assembly: DigitalRune.Game.UI (in DigitalRune.Game.UI.dll) Version: 1.8.0.0 (1.8.0.14553)
Syntax
public Rectangle ToRectangle(
	bool round
)

Parameters

round
Type: SystemBoolean
If set to the values will be rounded; otherwise, the decimal part will be truncated.

Return Value

Type: Rectangle
A Rectangle.
See Also