Skip to: Site menu | Main content

Groovy 

      Download | Documentation | Developers | Community

An agile dynamic language for the Java Platform

GraphicsBuilder - Misc - Color Add comment to Wiki View in Wiki Edit Wiki page Printable Version

Creates a java.awt.Color based on the set of properties specified.

Properties

Property Default Notes
red 0  
green 0  
blue 0  
alpha 255  

You can wrap a color literal like 'white' or 'darkGreen' and get the corresponding java.awt.Color