You are here: Start » AVL.NET » Invoke.RotateRectangle
Rotates a rectangle clockwise around a center point.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void RotateRectangle ( Avl.Rectangle2D inRectangle, Optional<Avl.Point2D> inCenter, float inAngle, bool inInverse, out Avl.Rectangle2D outRectangle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRectangle | Avl.Rectangle2D | |||
![]() | inCenter | Atl.Optional<Avl.Point2D> | Center of rotation (the rectangle's point by default). Default value: atl::NIL. | ||
![]() | inAngle | float | Clockwise rotation angle. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outRectangle | Avl.Rectangle2D |