You are here: Start » AVL.NET » Invoke.ResizeBox
Changes the dimensions of a box.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void ResizeBox ( Avl.Box inBox, Avl.Anchor2D inAnchor, Optional<int> inNewWidth, Optional<int> inNewHeight, out Avl.Box outBox )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inBox | Avl.Box | Input box. | ||
![]() | inAnchor | Avl.Anchor2D | TopLeft | Point of the box which position will not change. Default value: TopLeft. | |
![]() | inNewWidth | Atl.Optional<int> | <0, INF> | Target width of the box. Default value: atl::NIL. | |
![]() | inNewHeight | Atl.Optional<int> | <0, INF> | Target height of the box. Default value: atl::NIL. | |
![]() | outBox | Avl.Box | Resized box. |