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 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:
RectangleScaled rectangle.
See Also