This documentation is for the old version. Go to the latest Graphics Mill docs

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

Visual Basic
Public Sub New ( _
	centerX As Single, _
	centerY As Single, _
	width As Single, _
	height As Single, _
	angle As Single _
)
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