public class GradientStop
Single color stop used by gradients.
stop = GradientStop(0.5, Color(255, 255, 255, 1.0)) print(stop)
| Modifier and Type | Member | Description |
|---|---|---|
| public property | colorcolor as Color |
Color attached to the stop. |
| public property | offsetoffset as Double |
Offset in [0.0, 1.0]. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | GradientStopGradientStop(offset as Double = 0.0, color as Color = null) |
No summary. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | cloneclone() as GradientStop |
Duplicates the current stop. |
| public override | toStringtoString() as String |
No summary. |