Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
rect( width: 200, height: 200, borderColor: false ){
   gradientPaint()
}
texturePaint( id: 'p', x: 0, y: 0, file: 'c:\\tmp\\groovy-logo.png' )
rect( x: 0, y: 0, width: 100, height: 100, borderColor: 'red', fill: p, )
circle( cx: 150, cy: 50, radius: 50, borderColor: 'red', fill: p )
rect( x: 0, y: 100, width: 200, height: 100, borderColor: 'red', fill: p )
}