file: LinearGradient.aus

class: LinearGradient

[15:7] extends: FxObj

Wraps JavaFX LinearGradient, a paint that transitions colors along a straight line defined by two points and a series of color stops. The gradient can use proportional (0.0 to 1.0) or absolute pixel coordinates, and a cycle method controls what happens beyond the defined endpoints. It can be used with GraphicsContext setFill() and setStroke() in place of a solid Color.

Methods