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

AVS.RotateRectangle Method

Rotates a rectangle clockwise around a center point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RotateRectangle
(
	AvlNet.Rectangle2D inRectangle,
	AvlNet.Point2D? inCenter,
	float inAngle,
	bool inInverse,
	out AvlNet.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleAvlNet.Rectangle2D
inCenterAvlNet.Point2D?Center of rotation (the rectangle's point by default). Default value: atl::NIL.
inAnglefloatClockwise rotation angle.
inInverseboolSwitches to the inverse operation.
outRectangleAvlNet.Rectangle2D

Function Overrides

See also