Package | Description |
---|---|
com.sun.javafx.css.parser | |
com.sun.javafx.scene.paint | |
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 |
---|---|
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 |
---|---|
static Color |
Utils.ladder(Color color,
Stop[] stops)
Get the color at the give
position in the ladder of color 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 |
---|---|
List<Stop> |
RadialGradient.getStops()
A sequence of 2 or more
Stop values specifying how to distribute
the colors along the gradient. |
List<Stop> |
LinearGradient.getStops()
A sequence of 2 or more
Stop values specifying how to distribute
the colors along the gradient. |
Modifier and Type | Method and Description |
---|---|
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. |
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. |
Modifier and Type | Method and Description |
---|---|
RadialGradientBuilder |
RadialGradientBuilder.stops(List<Stop> x)
Deprecated.
Add the given items to the List of items in the
stops property for the instance constructed by this builder. |
LinearGradientBuilder |
LinearGradientBuilder.stops(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,
List<Stop> stops)
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.
|
Copyright © 2020. All rights reserved.