Draws a string at the specified coordinates.
Properties
Property | Default | Notes |
|---|---|---|
text | |
|
x | |
|
y | |
|
Example
| Code Block |
|---|
font( face: "Helvetica", style: Font.ITALIC, size: 48 ) text( text: 'Groovy rocks!', x: 20, y: 20, borderColor: 'darkGreen', fill: 'green' ) |
