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, out AvlNet.Rectangle2D outRectangle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRectangle | AvlNet.Rectangle2D | |||
![]() | inAnchor | AvlNet.Anchor2D | TopLeft | Default value: TopLeft. | |
![]() | outRectangle | AvlNet.Rectangle2D |
Examples
![]() |
![]() |
ResizeRectangle performed on the sample rectangle, inNewWidth = 177.0 and inNewHeight = 104.0.