MindFusion.Charting for JavaScript Programmer's Guide
Graphics.beginFigure 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

Starts a new figure.

Namespace: MindFusion.Drawing
File: Graphics.js

## Syntax

JavaScript Copy Code
function beginFigure ([pen, [brush, [bounds]]])

### Parameters

pen
  Optional.

  Type: Pen
  The pen to stroke the figure with.

brush
  Optional.

  Type: Brush
  The brush to fill the figure with.

bounds
  Optional.

  Type: Rect
  The bounds to which the brush should be applied.

## See Also

Graphics Members
Graphics Class
MindFusion.Drawing Namespace