Package javafx.scene.paint
package javafx.scene.paint
Provides the set of classes for colors and gradients used to fill shapes and backgrounds when rendering the scene graph.
-
ClassDescriptionThe Color class is used to encapsulate colors in the default sRGB color space.This enum defines one of the following methods to use when painting outside the gradient bounds:
CycleMethod.NO_CYCLE
,CycleMethod.REFLECT
, orCycleMethod.REPEAT
.TheImagePattern
class fills a shape with an image pattern.TheLinearGradient
class fills a shape with a linear color gradient pattern.Base class for representing the material of a 3D surface.Base class for a color or gradients used to fill shapes and backgrounds when rendering the scene graph.A material based on the Phong shading model.TheRadialGradient
class provides a way to fill a shape with a circular radial color gradient pattern.Defines one element of the ramp of colors to use on a gradient.