RadialGradient
classin packageklyn.gui.windows
public class RadialGradient extends Gradient:
Radial gradient compatible with a canvas-style API.
gradient = RadialGradient(80, 80, 4, 80, 80, 70)
gradient.addStop(0.0, Color.white())
gradient.addStop(1.0, Color(15, 23, 42, 1.0))
Properties
| Modifier and Type |
Member |
Description |
| public property |
r0 |
Inner radius. |
| public property |
r1 |
Outer radius. |
| public property |
x0 |
Inner circle center X. |
| public property |
x1 |
Outer circle center X. |
| public property |
y0 |
Inner circle center Y. |
| public property |
y1 |
Outer circle center Y. |
Constructors
| Modifier and Type |
Member |
Description |
| public |
RadialGradient |
No summary. |
Methods
| Modifier and Type |
Member |
Description |
| public override |
kind |
No summary. |