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

RotatedRectangleF Constructor

Creates and initializes an instance of the RectangleF class.

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

Syntax

Java Script
Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.RotatedRectangleF = function(centerX, centerY, width, height, angle);

Parameters

centerX

Type: Global.Number

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

Type: Global.Number

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

Type: Global.Number

The width of the rectangle to create.
height

Type: Global.Number

The height of the rectangle to create.
angle

Type: Global.Number

The rotation angle of the rectangle to create.

See Also

Reference