public interface PixelInputOutput
| Modifier and Type | Method and Description |
|---|---|
void |
read(Image image,
int layer,
TexturePixel pixel,
int index)
This method reads a pixel that starts at the given index.
|
void |
read(Image image,
int layer,
TexturePixel pixel,
int x,
int y)
This method reads a pixel that is located at the given position on the
image.
|
void |
write(Image image,
int layer,
TexturePixel pixel,
int index)
This method writes a pixel that starts at the given index.
|
void |
write(Image image,
int layer,
TexturePixel pixel,
int x,
int y)
This method writes a pixel that is located at the given position on the
image.
|
void read(Image image, int layer, TexturePixel pixel, int index)
image - the image we read pixel frompixel - the pixel where the result is storedindex - the index where the pixel begins in the image datavoid read(Image image, int layer, TexturePixel pixel, int x, int y)
image - the image we read pixel frompixel - the pixel where the result is storedx - the X coordinate of the pixely - the Y coordinate of the pixelvoid write(Image image, int layer, TexturePixel pixel, int index)
image - the image we read pixel frompixel - the pixel where the result is storedindex - the index where the pixel begins in the image datavoid write(Image image, int layer, TexturePixel pixel, int x, int y)
image - the image we read pixel frompixel - the pixel where the result is storedx - the X coordinate of the pixely - the Y coordinate of the pixel