Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Generated Object

javafx.scene.paint.LinearGradient

Value Argument

red - the red component of an rgb color using an integer in the range of 0 to 255

green - the green component of an rgb color using an integer in the range of 0 to 255

blue - the blue component of an rgb color using an integer in the range of 0 to 255

opacity - the optional opacity of a color in the range 0.0 to 1.0. If opacity is not present then the opacity will be 1.0.

Attributes

start

end

stops - 

The value of the stops attribute should be a List
     * of 2-element Lists containing an offset and color: [[0.0, black], [1.0, red]]

Content

This node takes no content.

Usage

This node creates a color based on rgb values. see javafx.scene.paint.Color#rgb

Examples

  • No labels