Method: Processing::GraphicsContext#square
- Defined in:
- lib/processing/graphics_context.rb
#square(x, y, extent) ⇒ nil Also known as: drawSquare
Draws a square.
1662 1663 1664 |
# File 'lib/processing/graphics_context.rb', line 1662 def square(x, y, extent) rect x, y, extent, extent end |