Search
Rect Constructor (Number, Number, Number, Number)
See Also
 






Initializes a new instance of the Rect class.

Namespace: MindFusion.Drawing
File: Rect.js

 Syntax

JavaScript  Copy Code

function Rect (x, y, width, height)

 Parameters

x

The X-coordinate of the top left corner of the rectangle.

y

The Y-coordinate of the top left corner of the rectangle.

width

The width of the rectangle.

height

The height of the rectangle.

 See Also