MindFusion.Charting for JavaScript Programmer's Guide
LinearGradientBrush.apply Method
See Also
 






Applies the brush properties to a CanvasRenderingContext2D drawing object.

Namespace: MindFusion.Drawing
File: Brush.js

 Syntax

JavaScript  Copy Code

function apply (context, bounds)

 Parameters

context

Type: CanvasRenderingContext2D
The CanvasRenderingContext2D drawing object.

bounds

Type: Rect
The bounds of the gradient.

 See Also

LinearGradientBrush Members
LinearGradientBrush Class
MindFusion.Drawing Namespace