class ChunkyPNG::Canvas

def get_pixel(x, y)

Returns:
  • (Integer) - The current pixel at the provided coordinates.

Parameters:
  • () --
def get_pixel(x, y)
  @pixels[y * width + x]
end