Method: Fox::Canvas::ShapeCanvas#selectShape

Defined in:
lib/fox16/canvas.rb

#selectShape(shape, notify = false) ⇒ Object

Select one shape



440
441
442
443
444
445
446
# File 'lib/fox16/canvas.rb', line 440

def selectShape(shape, notify=false)
  if @scene.include?(shape)
    @selectionPolicy.selectShape(shape, notify)
  else
    raise CanvasError
  end
end