javafx.ui
Stop
Defines one element of the ramp of colors to use on a gradient.
Attributes
- public color: Color
- Indicates what color to use at this gradient stop.
- public offset: Number
- The offset attribute is a number ranging from 0 to 1 which indicates where
this gradient stop is placed. For linear gradients, the offset attribute
represents a location along the gradient vector. For radial gradients, it
represents a percentage distance from (focusX,focusY) to the edge of the
outermost/largest circle.