GradientStop
class in package klyn.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]`.

Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | GradientStop `GradientStop(offset as Double = 0.0, color as Color = null):` | No summary.

Methods

Modifier and Type | Member | Description
--- | --- | ---
public | clone `clone() as GradientStop:` | Duplicates the current stop.
public override | toString `toString() as String:` | No summary.