ColorStop

constructor(value: Double, hexColor: String)

Secondary constructor that accepts a hex color string.

Parameters

value

The numeric stop value.

hexColor

The color as a hex string (e.g., "#RRGGBB" or "#AARRGGBB").


constructor(value: Double, color: Color)