Method: Processing::GraphicsContext#quad
- Defined in:
- lib/processing/graphics_context.rb
#quad(x1, y1, x2, y2, x3, y3, x4, y4) ⇒ nil Also known as: drawQuad
Draws a quad.
1660 1661 1662 1663 1664 |
# File 'lib/processing/graphics_context.rb', line 1660 def quad(x1, y1, x2, y2, x3, y3, x4, y4) assertDrawing__ @painter__.line x1, y1, x2, y2, x3, y3, x4, y4, loop: true nil end |