Search
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

The CanvasRenderingContext2D drawing object.

bounds

The bounds of the gradient.

 See Also