ColorStop

data class ColorStop(val offset: Double, val color: ColorRGBa)(source)

A color stop of a gradient: color at offset, from 0 to 1 along the gradient

Constructors

Link copied to clipboard
constructor(offset: Double, color: ColorRGBa)

Properties

Link copied to clipboard
val color: ColorRGBa
Link copied to clipboard