You are here: Start » AVL.NET » AVL.RotateRectangle
Rotates a rectangle clockwise around a center point.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RotateRectangle ( AvlNet.Rectangle2D inRectangle, float inAngle, bool inInverse, out AvlNet.Rectangle2D outRectangle )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inRectangle | AvlNet.Rectangle2D | |||
![]() | inAngle | float | Clockwise rotation angle. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outRectangle | AvlNet.Rectangle2D |
Examples
![]() |
![]() |
RotateRectangle performed on the sample rectangle, inCenter = Auto, inAngle = 40.0 and inInverse = False.




