You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.RotateRectangle

FIL.RotateRectangle

Rotates a rectangle clockwise around a center point.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void RotateRectangle
(
	FilNet.Rectangle2D inRectangle,
	FilNet.Point2D? inCenter,
	float inAngle,
	bool inInverse,
	out FilNet.Rectangle2D outRectangle
)

Parameters

Name Type Range Default Description
inRectangleFilNet.Rectangle2D
inCenterFilNet.Point2D?Center of rotation (the rectangle's point by default). Default value: ftl::NIL.
inAnglefloatClockwise rotation angle.
inInverseboolSwitches to the inverse operation.
outRectangleFilNet.Rectangle2D

Examples

RotateRectangle performed on the sample rectangle, inCenter = Auto, inAngle = 40.0 and inInverse = False.

Function Overrides

See also