Holds both gradient data/table and positioning information.
You can create a gradient with createLinearGradient, createCircularGradient, or createEllipticalGradient,
every frame.
Then use addColorStop to set the color information.
The gradient data is managed by the Canvas object itself. All gradients are invalidated once
initialize has been called.
Holds both gradient data/table and positioning information.
You can create a gradient with createLinearGradient, createCircularGradient, or createEllipticalGradient, every frame. Then use addColorStop to set the color information.
The gradient data is managed by the Canvas object itself. All gradients are invalidated once initialize has been called.