Method SDL.Surface()->get_pixel()
- Method get_pixel
intget_pixel(intx,inty)- Description
Get the value of the specified pixel. The surface needs to be locked before this method can be used.
- Parameter
x - Parameter
y Pixel coordinate to get.
- Returns
The value of the specified pixel.
- See also