package js.html
Available on jsThe
CanvasGradientinterface represents an opaque object describing a gradient. It is returned by the methodsCanvasRenderingContext2D.createLinearGradient()orCanvasRenderingContext2D.createRadialGradient().Documentation CanvasGradient by Mozilla Contributors, licensed under CC-BY-SA 2.5.
See:
addColorStop (offset:Float, color:String):VoidThrows:
null |
DOMError |
|---|
© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/CanvasGradient.html