Skip to: Site menu | Main content

Groovy 

      Download | Documentation | Developers | Community

An agile dynamic language for the Java Platform

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

Creates a zig-zag like pattern for stroking an outline.

Properties

Property Default Notes
stroke   must be a java.awt.Stroke or a StrokeProvider
amplitude 10  
wavelength 10  

This operation accepts nested strokes, they will be applied in appearing order. If more than 1 strokes are nested only the first will be taken into account.