Applies the brush properties to a CanvasRenderingContext2D drawing object.
Namespace: MindFusion.Charting.Drawing
Assembly: Brush.js
JavaScript
![]() |
---|
function apply (context, bounds) |
The CanvasRenderingContext2D drawing object.
The bounds of the gradient.