kotlin-stdlib
JS
kotlin-stdlib
/
org.w3c.dom
/
CanvasGradient
Canvas
Gradient
JS
abstract
external
class
CanvasGradient
Exposes the JavaScript
CanvasGradient
to Kotlin
Constructors
Functions
Constructors
Canvas
Gradient
Link copied to clipboard
JS
fun
CanvasGradient
(
)
Functions
add
Color
Stop
Link copied to clipboard
JS
fun
addColorStop
(
offset
:
Double
,
color
:
String
)