RotatedRectangleF Constructor (Single, Single, Single, Single, Single)

Creates and initializes an instance of the RotatedRectangleF class using the specified settings.

Namespace: Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math
Assembly: Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)

Syntax

C#
public RotatedRectangleF(
	float centerX,
	float centerY,
	float width,
	float height,
	float angle
)

Parameters

centerX

Type: System..Single

The x-coordinate of the rotation center of the rectangle to create.
centerY

Type: System..Single

The y-coordinate of the rotation center of the rectangle to create.
width

Type: System..Single

The width of the rectangle to create.
height

Type: System..Single

The height of the rectangle to create.
angle

Type: System..Single

The rotation angle of the rectangle to create.

See Also

Reference