You are here: Start » AVL.NET » Invoke.CreateRectangle
Creates a rectangle from an aligned point.
| Namespace: | Avl | 
|---|---|
| Assembly: | AvlNet.dll | 
Syntax
C++
C#
public static void CreateRectangle ( Avl.Point2D inPoint, Avl.Anchor2D inPointAnchor, float inAngle, float inWidth, float inHeight, out Avl.Rectangle2D outRectangle )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]()  | inPoint | Avl.Point2D | |||
![]()  | inPointAnchor | Avl.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 | Avl.Rectangle2D | 


