Uses of Class
javafx.scene.paint.LinearGradient
Package
Description
Provides the set of classes for colors and gradients used to fill shapes and
backgrounds when rendering the scene graph.
-
Uses of LinearGradient in javafx.scene.paint
Modifier and TypeMethodDescriptionLinearGradient.interpolate
(LinearGradient endValue, double t) Returns an intermediate value between the value of thisLinearGradient
and the specifiedendValue
using the linear interpolation factort
, ranging from 0 (inclusive) to 1 (inclusive).static LinearGradient
Creates a linear gradient value from a string representation.Modifier and TypeMethodDescriptionLinearGradient.interpolate
(LinearGradient endValue, double t) Returns an intermediate value between the value of thisLinearGradient
and the specifiedendValue
using the linear interpolation factort
, ranging from 0 (inclusive) to 1 (inclusive).