Method: Fox::Canvas::Shape#position
- Defined in:
- lib/fox16/canvas.rb
#position(x, y, w, h) ⇒ Object
Move and resize the shape
58 59 60 61 |
# File 'lib/fox16/canvas.rb', line 58 def position(x, y, w, h) move(x, y) resize(w, h) end |