Applies the brush properties to a CanvasRenderingContext2D drawing object.
Namespace: MindFusion.Drawing
File: Brush.js
JavaScript Copy Code |
---|
function apply (context, bounds) |
The CanvasRenderingContext2D drawing object.
The bounds of the gradient.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |