You are here: Start » AVL.NET » AVS.ReorientRectangle Method

AVS.ReorientRectangle Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void ReorientRectangle
(
	AvlNet.Rectangle2D inRectangle,
	int inRotationCount,
	out AvlNet.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2DInput rectangle.
inRotationCountint0Defines by what multiplicity of 90 degrees rectangle orientation should be changed. Default value: 0.
outRectangleAvlNet.Rectangle2D

See also