Method: Fox::Canvas::ShapeCanvas#updateShape

Defined in:
lib/fox16/canvas.rb

#updateShape(shape) ⇒ Object

Repaint



407
408
409
410
411
412
413
# File 'lib/fox16/canvas.rb', line 407

def updateShape(shape)
  if @scene.include?(shape)
    update
  else
    raise CanvasError
  end
end