RotateRectangle
Rotates a rectangle clockwise around a center point.
Syntax
C++
Python
def RotateRectangle( inRectangle: Rectangle2D, inAngle: float, /, *, inCenter: Point2D | None = None, inInverse: bool = False ) -> outRectangle: Rectangle2D
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inRectangle | Rectangle2D | ||
![]() |
inCenter | Point2D | None | None | Center of rotation (the rectangle's point by default) |
![]() |
inAngle | float | Clockwise rotation angle | |
![]() |
inInverse | bool | False | Switches to the inverse operation |
![]() |
outRectangle | Rectangle2D |


