Uses of Class java.awt.LinearGradientPaint (Java SE 26 & JDK 26)
Description: use: module: java.desktop, package: java.awt, class: LinearGradientPaint

# Uses of Class
java.awt.LinearGradientPaint

Packages that use LinearGradientPaint
Package
Description
javax.swing.plaf.nimbus
Provides user interface objects built according to the cross-platform Nimbus look and feel.

- ## Uses of LinearGradientPaint in javax.swing.plaf.nimbus

  Methods in javax.swing.plaf.nimbus that return LinearGradientPaint
  Modifier and Type
  Method
  Description
  `protected final LinearGradientPaint`
  AbstractRegionPainter.`decodeGradient(float x1, float y1, float x2, float y2, float[] midpoints, Color[] colors)`
  Given parameters for creating a LinearGradientPaint, this method will create and return a linear gradient paint.