Method: Geometry::Path#min

Defined in:
lib/geometry/path.rb

#minPoint

Returns The lower-left corner of the bounding rectangle that encloses the Geometry::Path.

Returns:



71
72
73
# File 'lib/geometry/path.rb', line 71

def min
    elements.reduce(elements.first.min) {|memo, e| memo.min(e.max) }
end