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

Include Inherited Members
Include Protected Members

Represents a linear gradient brush.

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

## Public Constructors

| Name | Description
--- | --- | ---
| LinearGradientBrush | Overloaded.

## Public Properties

| Name | Description
--- | --- | ---
| angle | Gets or sets angle of gradient rotation.
| endColor | Gets or sets the end color of the gradient.
| startColor | Gets or sets the start color of the gradient.

## Public Methods

| Name | Description
--- | --- | ---
| apply | Applies the brush properties to a CanvasRenderingContext2D drawing object.
| clone | Creates a copy of this brush.
| equals | Determines whether the specified object is equal to this LinearGradientBrush.
| fromObject | Returns a LinearGradientBrush from a JSON object or string describing this brush.
| toObject | Returns a JSON object describing this brush.

## See Also

LinearGradientBrush Class
MindFusion.Drawing Namespace