-
Defines which of the following cycle method is applied
to the LinearGradient
: CycleMethod.NO_CYCLE
,
CycleMethod.REFLECT
, or CycleMethod.REPEAT
.
Defines the cycle method applied
to the RadialGradient
.
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in
the order they are declared.
Creates a new instance of LinearGradient.
Creates a new instance of LinearGradient.
RadialGradient(double focusAngle,
double focusDistance,
double centerX,
double centerY,
double radius,
boolean proportional,
CycleMethod cycleMethod,
List<Stop> stops)
Creates a new instance of RadialGradient.
RadialGradient(double focusAngle,
double focusDistance,
double centerX,
double centerY,
double radius,
boolean proportional,
CycleMethod cycleMethod,
Stop... stops)
Creates a new instance of RadialGradient.