You are here: Start » AVL.NET » AVL.CreateRectangle
Creates a rectangle from an aligned point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void CreateRectangle ( AvlNet.Point2D inPoint, AvlNet.Anchor2D inPointAnchor, float inAngle, float inWidth, float inHeight, out AvlNet.Rectangle2D outRectangle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoint | AvlNet.Point2D | ||||
inPointAnchor | AvlNet.Anchor2D | TopLeft | Alignment of the input point relatively to the box of the position. Default value: TopLeft. | ||
inAngle | float | Clock-wise orientation angle. | |||
inWidth | float | <0.0f, INF> | Width of the created rectangle. | ||
inHeight | float | <0.0f, INF> | Height of the created rectangle. | ||
outRectangle | AvlNet.Rectangle2D |