You are here: Start » AVL.NET » AVL.ResizeBox_Delta
Changes the dimensions of a box by adding some values.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ResizeBox_Delta ( AvlNet.Box inBox, AvlNet.Anchor2D inAnchor, int inWidthDelta, int inHeightDelta, out AvlNet.Box outBox )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inBox | AvlNet.Box | Input box. | |||
inAnchor | AvlNet.Anchor2D | TopLeft | Point of the box which position will not change. Default value: TopLeft. | ||
inWidthDelta | int | 0 | Value added to width of the box. Default value: 0. | ||
inHeightDelta | int | 0 | Value added to height of the box. Default value: 0. | ||
outBox | AvlNet.Box | Resized box. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Negative box dimensions in ResizeBox_Delta. |