Stop
Overview
Defines one element of the ramp of colors to use on a gradient. For more information see javafx.scene.paint.LinearGradient and javafx.scene.paint.RadialGradient.
Example:
// object bounding box relative (proportional:true, default) Rectangle { x: 0 y: 0 width: 100 height: 100 fill: LinearGradient { startX: 0.0 startY: 0.0 endX: 1.0 endY: 0.0 stops: [ Stop { offset: 0.0 color: Color.BLACK }, Stop { offset: 1.0 color: Color.RED } ] } }
Profile: common
Variable Summary
| name | type | Default Value | description |
|---|---|---|---|
| offset | Number | 0.0 |
The |
| color | Color | null |
The color of the gradient at this offset. |
