PX
- the generic typePixmap.PixmapProperty<PX>
, Pixmap.PixmapPropertyBuilder<PX,B>
, RgbPixmap.RgbPixmapMutator
, RgbPixmap.RgbPixmapProperty
, RgbPixmap.RgbPixmapPropertyBuilder
RgbPixmapImpl.RgbPixmapPropertyBuilderImpl
public static interface Pixmap.PixmapMutator<PX>
Modifier and Type | Method | 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.