You are here:
Start »
AVL.NET »
AVL.RescaleRectangle Method
AVL.RescaleRectangle Method
Changes the corners and the dimensions of a rectangle.
Namespace: | AvlNet |
Assembly: | AVL.NET.dll |
Syntax
public static void RescaleRectangle(
AvlNet.Rectangle2D inRectangle,
float inScale,
bool inInverse,
out AvlNet.Rectangle2D outRectangle
)
Parameters
Examples
RescaleRectangle performed on the sample rectangle, inReferencePoint = (0.0, 0.0), inScale = 2.0 and inInverse = false.
Errors
Error type |
Description |
DomainError |
inScale cannot be zero in inverse operation in RescaleRectangle. |
See also