← Docs
kotlin-stdlib / org.w3c.dom / CanvasGradient

CanvasGradient

JS
1.1
abstract class CanvasGradient
(source)

Exposes the JavaScript CanvasGradient to Kotlin

Constructors

JS
1.1

<init>

Exposes the JavaScript CanvasGradient to Kotlin

CanvasGradient ( )

Functions

JS
1.1

addColorStop

fun addColorStop ( offset : Double , color : String )
Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .