You are here: Start » AVL.NET » AVL.ResizeRectangle_Delta
Changes dimensions of a rectangle by adding some values.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void ResizeRectangle_Delta ( AvlNet.Rectangle2D inRectangle, AvlNet.Anchor2D inAnchor, float inWidthDelta, float inHeightDelta, out AvlNet.Rectangle2D outRectangle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRectangle | AvlNet.Rectangle2D | ||||
inAnchor | AvlNet.Anchor2D | TopLeft | Default value: TopLeft. | ||
inWidthDelta | float | 0.0f | Value added to width of the rectangle. Default value: 0.0f. | ||
inHeightDelta | float | 0.0f | Value added to height of the rectangle. Default value: 0.0f. | ||
outRectangle | AvlNet.Rectangle2D |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Negative rectangle dimensions in ResizeRectangle_Delta. |