MindFusion.Charting for JavaScript Programmer's Guide
Path.addRect Method
See Also
 






Adds a rectangle figure to the path.

Namespace: MindFusion.Drawing
File: Path.js

 Syntax

JavaScript  Copy Code

function addRect (x, y, width, height)

 Parameters

x

Type: Number
Number. The x-coordinate of the rectangle.

y

Type: Number
Number. The y-coordinate of the rectangle.

width

Type: Number
Number. The width of the rectangle.

height

Type: Number
Number. The height of the rectangle.

 See Also

Path Members
Path Class
MindFusion.Drawing Namespace