ReorientRectangle


Changes orientation of the given rectangle by multiple of 90 degrees.

Syntax

C++
Python
 
def ReorientRectangle(
	inRectangle: Rectangle2D,
	/,
	*,
	inRotationCount: int = 0
)
-> outRectangle: Rectangle2D

Parameters

Name Type Default Description
Input value inRectangle Rectangle2D Input rectangle
Input value inRotationCount int 0 Defines by what multiplicity of 90 degrees rectangle orientation should be changed
Output value outRectangle Rectangle2D