Uses of Class
javafx.scene.paint.Stop
Package
Description
Provides various
StyleConverter
classes
that convert CSS parsed values.Provides the set of classes for colors and gradients used to fill shapes and
backgrounds when rendering the scene graph.
-
Uses of Stop in javafx.css.converter
Modifier and TypeClassDescriptionfinal class
Converter to convert aStop
from aSize
and aColor
. -
Uses of Stop in javafx.scene.paint
Modifier and TypeClassDescriptionfinal class
Defines one element of the ramp of colors to use on a gradient.Modifier and TypeMethodDescriptionStop.interpolate
(Stop endValue, double t) Returns an intermediate value between the value of thisInterpolatable
and the specifiedendValue
using the linear interpolation factort
, ranging from 0 (inclusive) to 1 (inclusive).Modifier and TypeMethodDescriptionLinearGradient.getStops()
A sequence of 2 or moreStop
values specifying how to distribute the colors along the gradient.RadialGradient.getStops()
A sequence of 2 or moreStop
values specifying how to distribute the colors along the gradient.Modifier and TypeMethodDescriptionStop.interpolate
(Stop endValue, double t) Returns an intermediate value between the value of thisInterpolatable
and the specifiedendValue
using the linear interpolation factort
, ranging from 0 (inclusive) to 1 (inclusive).ModifierConstructorDescriptionLinearGradient
(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.ModifierConstructorDescriptionLinearGradient
(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.