class ChunkyPNG::Canvas

def include_x?(x)

Returns:
  • (true, false) - True if the x-coordinate is in the range of this

Parameters:
  • x (Integer) -- The y-coordinate of the pixel (column)
def include_x?(x)
  x >= 0 && x < width
end