Scenegraph.radialGradient Add comment to Wiki View in Wiki Edit Wiki page Printable Version

Generated Object

javafx.scene.paint.RadialGradient

Attributes

This node takes the attributes of the javafx.scene.paint.RadialGradient class. see javafx.scene.paint.RadialGradient

In addition, it takes the following attributes:

center - a list of 2 elements with the first value used to set the centerX attribute of the LinearGradient and the second value to set the centerY attribute.

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 may optionally take one or more stop nodes as content. see Scenegraph.stop

Usage

This node creates a radial gradient paint.

Examples

 

Search

Results of your search request can come from various sources: the Groovy website itself, the JIRA issues, the API documentation, as well as a few other interesting Groovy-related blogs.

  By  -  pages  -  views  - last modified