Draws a rectangle.
Namespace: MindFusion.Drawing
File: Graphics.js
JavaScript
![]() |
---|
function drawRectangle (pen, rect) |
Type: Pen
The pen to stroke the rectangle with.
Type: Rect
The rectangle to draw.
MindFusion.Charting for JavaScript Programmer's Guide | © 2025 MindFusion |