Package | Description |
---|---|
com.sun.javafx.css.parser | |
javafx.scene.paint |
Provides the set of classes for colors and gradients used to fill shapes and
backgrounds when rendering the scene graph.
|
Modifier and Type | Method and Description |
---|---|
private ParsedValueImpl<java.lang.String,CycleMethod> |
CSSParser.cycleMethod(CSSParser.Term root) |
Modifier and Type | Field and Description |
---|---|
private CycleMethod |
LinearGradientBuilder.cycleMethod
Deprecated.
|
private CycleMethod |
RadialGradientBuilder.cycleMethod
Deprecated.
|
private CycleMethod |
LinearGradient.cycleMethod |
private CycleMethod |
RadialGradient.cycleMethod |
Modifier and Type | Method and Description |
---|---|
CycleMethod |
LinearGradient.getCycleMethod()
Defines which of the following cycle method is applied
to the
LinearGradient : CycleMethod.NO_CYCLE ,
CycleMethod.REFLECT , or CycleMethod.REPEAT . |
CycleMethod |
RadialGradient.getCycleMethod()
Defines which of the follwing cycle method is applied
to the
LinearGradient : CycleMethod.NO_CYCLE ,
CycleMethod.REFLECT , or CycleMethod.REPEAT . |
static CycleMethod |
CycleMethod.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CycleMethod[] |
CycleMethod.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
LinearGradientBuilder |
LinearGradientBuilder.cycleMethod(CycleMethod x)
Deprecated.
Set the value of the
cycleMethod property for the instance constructed by this builder. |
RadialGradientBuilder |
RadialGradientBuilder.cycleMethod(CycleMethod x)
Deprecated.
Set the value of the
cycleMethod property for the instance constructed by this builder. |
Constructor and Description |
---|
LinearGradient(double startX,
double startY,
double endX,
double endY,
boolean proportional,
CycleMethod cycleMethod,
java.util.List<Stop> stops)
Creates a new instance of LinearGradient.
|
LinearGradient(double startX,
double startY,
double endX,
double endY,
boolean proportional,
CycleMethod cycleMethod,
Stop... stops)
Creates a new instance of LinearGradient.
|
RadialGradient(double focusAngle,
double focusDistance,
double centerX,
double centerY,
double radius,
boolean proportional,
CycleMethod cycleMethod,
java.util.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.
|