Skip to: Site menu | Main content

Groovy 

      Download | Documentation | Developers | Community

An agile dynamic language for the Java Platform

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

Creates a stroke as a composite of two strokes using an Area operation.

Properties

Property Default Notes
stroke1   must be a java.awt.Stroke or a StrokeProvider
stroke2   must be a java.awt.Stroke or a StrokeProvider
operation 'add' must be any of [add,subtract,intersect,xor]

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