Method: Bio::Graphics::ImageMap#add_element
- Defined in:
- lib/bio/graphics/image_map.rb
#add_element(left, top, right, bottom, url = nil) ⇒ Object
14 15 16 |
# File 'lib/bio/graphics/image_map.rb', line 14 def add_element(left,top,right,bottom,url = nil) @elements.push(Element.new(left,top,right,bottom,url)) end |