MindFusion.Charting for JavaScript Programmer's Guide
Graphics.drawRectangle Method
See Also
Collapse All Expand All Language Filter: All Language Filter: Multiple Language Filter: None Language Filter: C# Language Filter: Visual Basic Language Filter: Java Language Filter: JavaScript Language Filter: C++ Language Filter: XAML

C#
Visual Basic
Java
JavaScript
C++
XAML

Draws a rectangle.

Namespace: MindFusion.Drawing
File: Graphics.js

## Syntax

JavaScript Copy Code
function drawRectangle (pen, rect)

### Parameters

pen

  Type: Pen
  The pen to stroke the rectangle with.

rect

  Type: Rect
  The rectangle to draw.

## See Also

Graphics Members
Graphics Class
MindFusion.Drawing Namespace