Function
ImageData:getPixel( x, y )
Gets the pixel at the specified position.
Synopsis
r, g, b, a = ImageData:getPixel( x, y )
Parameters
x number The position of the pixel on the x-axis.
y number The position of the pixel on the y-axis.
Returns
r number The red component (0-255).
g number The green component (0-255).
b number The blue component (0-255).
a number The alpha component (0-255).
Copyright © 2006-2010 LÖVE Development Team.