Gets the color from the this surface.
Gets the color from the this surface.
This operation can be perfomance intensive, so it might be worthwile
to either use getPixels
to fetch multiple pixels at the same time or
to implement this operation on the application code.
pixel x position
pixel y position
pixel color
Returns the pixels from this surface.
Returns the pixels from this surface. This operation can be perfomance intensive, so it might be worthwile to implement this operation on the application code.
color matrix
The surface height
The surface width
Copies this surface into a new surface stored in RAM
Returns a view over this surface.
Returns a view over this surface.
Operations performed on a view are executed in a defered fashion.
A Surface is an object that contains a set of pixels.