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