Class ColorStop

Represents a color stop with both an absolute and relative value.

Hierarchy

  • ColorStop

Index

Properties

Properties

at

at: number

The relative offset of the stop within its domain. The domain may depend on the context in which a color stop is used. The relative offset is a value in the range (0-1).

color

color: Color

The color of this color stop.

value

value: number

The absolute value of the stop.