PX - the generic typepublic static interface Pixmap.PixmapMutator<PX>
| Modifier and Type | Method and Description |
|---|---|
void |
setPixelAt(PX aPixel,
int aPosX,
int aPosY)
Sets a pixel in the pixmap.
|
void |
setPixels(PX[][] aPixels)
Sets the pixels.
|
void setPixelAt(PX aPixel, int aPosX, int aPosY) throws IndexOutOfBoundsException
aPixel - The pixel to be placed at the given position.aPosX - The x position of the pixel.aPosY - The y position of the pixel.IndexOutOfBoundsException - in case the index is out of bounds.void setPixels(PX[][] aPixels)
aPixels - the new pixelsCopyright © 2018. All rights reserved.