Click or drag to resize
DrawUtilsScaleRect Method
Scale a rectangle by given factor

Namespace:  GeonBit.UI
Assembly:  GeonBit.UI (in GeonBit.UI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public virtual Rectangle ScaleRect(
	Rectangle rect,
	float scale
)

Parameters

rect
Type: Rectangle
Rectangle to scale.
scale
Type: SystemSingle
By how much to scale the rectangle.

Return Value

Type: Rectangle
Scaled rectangle.
See Also