Adds a rectangle figure to the path.
Namespace: MindFusion.Drawing
Package: Path.js
JavaScript Copy Code |
---|
function addRect (x, y, width, height) |
The x-coordinate of the rectangle.
The y-coordinate of the rectangle.
The width of the rectangle.
The height of the rectangle.