Skip to: Site menu | Main content

Groovy 

      Download | Documentation | Developers | Community

An agile dynamic language for the Java Platform

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

Draws a string at the specified coordinates.

Properties

Property Default Notes
text 'Groovy'  
x 0  
y 0  

Example

font( face: "Helvetica", style: Font.ITALIC, size: 48 )
text( text: 'Groovy rocks!', x: 20, y: 20, borderColor: 'darkGreen', fill: 'green' )