You are here: Start » AVL.NET » AVL.RotateRectangle(AvlNet.Rectangle2D, float, bool, AvlNet.Rectangle2D)

AVL.RotateRectangle(AvlNet.Rectangle2D, float, bool, AvlNet.Rectangle2D)

Rotates a rectangle clockwise around a center point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


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

Parameters

inRectangle
Type: AvlNet.Rectangle2D
inAngle
Type: System.Single
Clockwise rotation angle
inInverse
Type: System.Boolean
Switches to the inverse operation
outRectangle
Type: AvlNet.Rectangle2D

Remarks

See full override for more details.

See also