# Uses of Class
javafx.scene.paint.LinearGradient

Packages that use LinearGradient
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.

- ## Uses of LinearGradient in javafx.scene.paint

  Methods in javafx.scene.paint that return LinearGradient
  Modifier and Type
  Method
  Description
  `LinearGradient`
  LinearGradient.`interpolate(LinearGradient endValue, double t)`
  Returns an intermediate value between the value of this `LinearGradient` and the specified `endValue` using the linear interpolation factor `t`, ranging from 0 (inclusive) to 1 (inclusive).
  `static LinearGradient`
  LinearGradient.`valueOf(String value)`
  Creates a linear gradient value from a string representation.
  Methods in javafx.scene.paint with parameters of type LinearGradient
  Modifier and Type
  Method
  Description
  `LinearGradient`
  LinearGradient.`interpolate(LinearGradient endValue, double t)`
  Returns an intermediate value between the value of this `LinearGradient` and the specified `endValue` using the linear interpolation factor `t`, ranging from 0 (inclusive) to 1 (inclusive).