GradientStop
classin packageklyn.gui.windows
public class GradientStop
GradientStop

Single color stop used by gradients.

stop = GradientStop(0.5, Color(255, 255, 255, 1.0))
print(stop)
Properties
Modifier and Type Member Description
public property color
color as Color
Color attached to the stop.
public property offset
offset as Double
Offset in [0.0, 1.0], saturated on assignment.
Constructors
Modifier and Type Member Description
public GradientStop
GradientStop(offset as Double = 0.0, color as Color = null)
Creates a color stop with an offset saturated to [0.0, 1.0].
Methods
Modifier and Type Member Description
public clone
clone() as GradientStop
Duplicates the current stop.
public override toString
toString() as String
No summary.