You are here: Start » AVL.NET » AVL.ResizeRectangle
Changes dimensions of a rectangle.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ResizeRectangle ( AvlNet.Rectangle2D inRectangle, AvlNet.Anchor2D inAnchor, float? inNewWidth, float? inNewHeight, out AvlNet.Rectangle2D outRectangle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRectangle | AvlNet.Rectangle2D | ||||
inAnchor | AvlNet.Anchor2D | TopLeft | Default value: TopLeft. | ||
inNewWidth | float? | <0.0f, INF> | |||
inNewHeight | float? | <0.0f, INF> | |||
outRectangle | AvlNet.Rectangle2D |