Method: Processing::GraphicsContext#curve
- Defined in:
- lib/processing/graphics_context.rb
#curve(cx1, cy1, x1, y1, x2, y2, cx2, cy2) ⇒ nil Also known as: drawCurve
Draws a Catmull-Rom spline curve.
903 904 905 906 907 |
# File 'lib/processing/graphics_context.rb', line 903 def curve(cx1, cy1, x1, y1, x2, y2, cx2, cy2) assertDrawing__ @painter__.curve cx1, cy1, x1, y1, x2, y2, cx2, cy2 nil end |