Skip to: Site menu | Main content

Groovy 

      Download | Documentation | Developers | Community

An agile dynamic language for the Java Platform

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

Paints define how color patterns can be applied to a Shape's contents either passing them as a parameter on fill or nesting them inside a Shape definition.

All paints support the following additional properties

  • asPaint: creates the paint but does not apply it to the current context, useful for reusing paints in several shapes.

Extras

MultiPaint