Package | Description |
---|---|
com.sun.javafx.css.parser | |
com.sun.javafx.scene.paint | |
com.sun.javafx.tk | |
com.sun.javafx.tk.quantum | |
com.sun.javafx.util | |
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 |
---|---|
Stop |
StopConverter.convert(ParsedValue<ParsedValue[],Stop> value,
Font font) |
Modifier and Type | Method and Description |
---|---|
private ParsedValueImpl<ParsedValue[],Stop> |
CSSParser.stop(CSSParser.Term root) |
Modifier and Type | Method and Description |
---|---|
Stop |
StopConverter.convert(ParsedValue<ParsedValue[],Stop> value,
Font font) |
Modifier and Type | Method and Description |
---|---|
Stop[] |
GradientUtils.Parser.parseStops(boolean proportional,
double length) |
Modifier and Type | Method and Description |
---|---|
private java.lang.Object |
Toolkit.checkSingleColor(java.util.List<Stop> stops) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<Stop> |
QuantumToolkit.convertStops(java.util.List<Stop> paintStops) |
Modifier and Type | Method and Description |
---|---|
static Color |
Utils.ladder(Color color,
Stop[] stops)
Get the color at the give
position in the ladder of color stops |
private static Color |
Utils.ladder(double position,
Stop[] stops)
Get the color at the give
position in the ladder of color stops |
Modifier and Type | Field and Description |
---|---|
(package private) static java.util.List<Stop> |
Stop.NO_STOPS |
private java.util.List<Stop> |
LinearGradientBuilder.stops
Deprecated.
|
private java.util.List<Stop> |
RadialGradientBuilder.stops
Deprecated.
|
private java.util.List<Stop> |
LinearGradient.stops |
private java.util.List<Stop> |
RadialGradient.stops |
Modifier and Type | Method and Description |
---|---|
Stop |
StopBuilder.build()
Deprecated.
Make an instance of
Stop based on the properties set on this builder. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Stop> |
LinearGradient.getStops()
A sequence of 2 or more
Stop values specifying how to distribute
the colors along the gradient. |
java.util.List<Stop> |
RadialGradient.getStops()
A sequence of 2 or more
Stop values specifying how to distribute
the colors along the gradient. |
(package private) static java.util.List<Stop> |
Stop.normalize(java.util.List<Stop> stops) |
(package private) static java.util.List<Stop> |
Stop.normalize(Stop[] stops) |
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.List<Stop> |
Stop.normalize(Stop[] stops) |
LinearGradientBuilder |
LinearGradientBuilder.stops(Stop... x)
Deprecated.
Add the given items to the List of items in the
stops property for the instance constructed by this builder. |
RadialGradientBuilder |
RadialGradientBuilder.stops(Stop... x)
Deprecated.
Add the given items to the List of items in the
stops property for the instance constructed by this builder. |
Modifier and Type | Method and Description |
---|---|
(package private) static java.util.List<Stop> |
Stop.normalize(java.util.List<Stop> stops) |
LinearGradientBuilder |
LinearGradientBuilder.stops(java.util.List<Stop> x)
Deprecated.
Add the given items to the List of items in the
stops property for the instance constructed by this builder. |
RadialGradientBuilder |
RadialGradientBuilder.stops(java.util.List<Stop> x)
Deprecated.
Add the given items to the List of items in the
stops property for the instance constructed by this builder. |
Constructor and Description |
---|
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,
Stop... stops)
Creates a new instance of RadialGradient.
|
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.
|
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.
|