Adds a rectangle figure to the path.
Namespace: MindFusion.Drawing
File: Path.js
JavaScript Copy Code |
---|
function addRect (x, y, width, height) |
Number. The x-coordinate of the rectangle.
Number. The y-coordinate of the rectangle.
Number. The width of the rectangle.
Number. The height of the rectangle.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |