Back to Adaptive Vision Library website
You are here: Start » Function Reference » Box » ResizeBox_Delta
Changes the dimensions of a box by adding some values.
Syntax
C++
C#
void avl::ResizeBox_Delta ( const avl::Box& inBox, avl::Anchor2D::Type inAnchor, int inWidthDelta, int inHeightDelta, avl::Box& outBox )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inBox | const Box& | Input box | ||
inAnchor | Anchor2D::Type | TopLeft | Point of the box which position will not change | |
inWidthDelta | int | 0 | Value added to width of the box | |
inHeightDelta | int | 0 | Value added to height of the box | |
outBox | Box& | Resized box |
Errors
Error type | Description |
---|---|
DomainError | Negative box dimensions in ResizeBox_Delta. |