- Type Parameters:
PX- the generic type
- All Known Subinterfaces:
Pixmap.PixmapBuilder<PX,,B> Pixmap.PixmapProperty<PX>,RgbPixmap.RgbPixmapBuilder,RgbPixmap.RgbPixmapMutator,RgbPixmap.RgbPixmapProperty
- All Known Implementing Classes:
RgbPixmapBuilderImpl
public static interface Pixmap.PixmapMutator<PX>
Provides a mutator for a pixmap property.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetPixelAt(PX aPixel, int aPosX, int aPosY) Sets a pixel in the pixmap.voidSets the pixels.
-
Method Details
-
setPixelAt
Sets a pixel in the pixmap.- Parameters:
aPixel- The pixel to be placed at the given position.aPosX- The x position of the pixel.aPosY- The y position of the pixel.- Throws:
IndexOutOfBoundsException- in case the index is out of bounds.
-
setPixels
Sets the pixels.- Parameters:
aPixels- the new pixels
-