Package | Description |
---|---|
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 | Field and Description |
---|---|
(package private) static java.util.List<Stop> |
Stop.NO_STOPS |
private java.util.List<Stop> |
RadialGradient.stops |
private java.util.List<Stop> |
LinearGradient.stops |
private java.util.List<Stop> |
RadialGradientBuilder.stops |
private java.util.List<Stop> |
LinearGradientBuilder.stops |
Modifier and Type | Method and Description |
---|---|
Stop |
StopBuilder.build()
Make an instance of
Stop based on the properties set on this builder. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Stop> |
RadialGradient.getStops()
A sequence of 2 or more
Stop values specifying how to distribute
the colors along the gradient. |
java.util.List<Stop> |
LinearGradient.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) |
RadialGradientBuilder |
RadialGradientBuilder.stops(Stop... x)
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)
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) |
RadialGradientBuilder |
RadialGradientBuilder.stops(java.util.List<Stop> x)
Add the given items to the List of items in the
stops property for the instance constructed by this builder. |
LinearGradientBuilder |
LinearGradientBuilder.stops(java.util.List<Stop> x)
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.
|
Copyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.