klyn.gui.windows.RadialGradient.RadialGradient
constructor
public RadialGradient(x0 as Int = 0, y0 as Int = 0, r0 as Int = 0, x1 as Int = 0, y1 as Int = 0, r1 as Int = 0)
Description

Creates a two-circle radial gradient without color stops.

Parameters
ParameterDescription
x0Start-circle center X.
y0Start-circle center Y.
r0Non-negative start-circle radius.
x1End-circle center X.
y1End-circle center Y.
r1Non-negative end-circle radius.
Throws
  • ValueException If either radius is negative. Example: gradient = RadialGradient(80, 80, 4, 80, 80, 70).