class ChunkyPNG::Canvas

def include_y?(y)

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

Parameters:
  • y (Integer) -- The y-coordinate of the pixel (row)
def include_y?(y)
  y >= 0 && y < height
end