class ChunkyPNG::Vector

def x_range

Returns:
  • (Range) - The (inclusive) range of x-coordinates.
def x_range
  Range.new(*points.map { |p| p.x }.minmax)
end