You are here: Start » AVL.NET » AVL.ResizeRectangle_Delta(AvlNet.Rectangle2D, AvlNet.Anchor2D, float, float, AvlNet.Rectangle2D)
AVL.ResizeRectangle_Delta(AvlNet.Rectangle2D, AvlNet.Anchor2D, float, float, AvlNet.Rectangle2D)
Changes dimensions of a rectangle by adding some values.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void ResizeRectangle_Delta( AvlNet.Rectangle2D inRectangle, AvlNet.Anchor2D inAnchor, float inWidthDelta, float inHeightDelta, out AvlNet.Rectangle2D outRectangle )
Parameters
- inRectangle
- Type: AvlNet.Rectangle2D
- inAnchor
- Type: AvlNet.Anchor2D
- inWidthDelta
- Type: System.Single
Value added to width of the rectangle - inHeightDelta
- Type: System.Single
Value added to height of the rectangle - outRectangle
- Type: AvlNet.Rectangle2D
Errors
| Error type | Description |
|---|---|
| DomainError | Negative rectangle dimensions in ResizeRectangle_Delta. |
