Search
Path.addRect Method
See Also
 





Adds a rectangle figure to the path.

Namespace: MindFusion.Drawing
Package: Path.js

 Syntax

JavaScript  Copy Code

function addRect (x, y, width, height)

 Parameters

x

Number. The x-coordinate of the rectangle.

y

Number. The y-coordinate of the rectangle.

width

Number. The width of the rectangle.

height

Number. The height of the rectangle.

 See Also