MindFusion.Charting for JavaScript Programmer's Guide
Pen Members
Constructors Properties Methods
Collapse All Expand All Members Options: Show All Members Options: Filtered

Include Inherited Members
Include Protected Members

Represents a pen.

The following tables list the members exposed by the Pen type.

## Public Constructors

| Name | Description
--- | --- | ---
| Pen | Overloaded.

## Public Properties

| Name | Description
--- | --- | ---
| color | Gets or sets the color of this Pen.
| dashStyle | Gets or sets the dash style of this Pen.
| width | Gets or sets the width of this Pen.

## Public Methods

| Name | Description
--- | --- | ---
| apply | Applies the pen properties to a CanvasRenderingContext2D drawing object.
| equals | Determines whether the specified object is equal to this LinearGradientBrush.
| fromObject | Returns a Pen from a string describing this pen.
| toString | Returns a string representation of this pen.

## See Also

Pen Class
MindFusion.Drawing Namespace