Skip to: Site menu | Main content

Groovy 

      Download | Documentation | Developers | Community

An agile dynamic language for the Java Platform

GraphicsBuilder - Outlines - CubicCurve Add comment to Wiki View in Wiki Edit Wiki page Printable Version

Draws a cubic parametric curve segment.

Properties

Property Default Notes
x1    
y1    
ctrlx1    
ctrly1    
ctrlx2    
ctrly2    
x2    
y2    

Example

cubicCurve( x1: 10, y1: 10, ctrlx1: 10, ctrly1: 100, ctrlx2: 300, ctrly2: 10, x2: 300, y2: 100,
            borderColor: 'blue', borderWidth: 10 )