Method: Roi#rectangle

Defined in:
lib/roi/roi.rb

#rectangleObject

Public: Gets Roi rectangle.

Returns Roi rectangle as a Hash with keys :x, :y, :width, :height.



56
57
58
# File 'lib/roi/roi.rb', line 56

def rectangle
  {:x => @x, :y => @y, :width => @width, :height => @height}
end