- All Superinterfaces:
Pixmap.PixmapMutator<RgbPixel>
- All Known Subinterfaces:
RgbPixmap.RgbPixmapBuilder
,RgbPixmap.RgbPixmapProperty
- All Known Implementing Classes:
RgbPixmapBuilderImpl
- Enclosing interface:
- RgbPixmap
The Interface RgbPixmapMutator.
-
Method Summary
Modifier and TypeMethodDescriptiondefault void
setColorAt
(Color aPixel, int aPosX, int aPosY) Sets an integer value interpreted as pixel in the pixmap.default void
setRgbAt
(int aRgbPixel, int aPosX, int aPosY) Sets an integer value interpreted as pixel in the pixmap.Methods inherited from interface org.refcodes.graphical.Pixmap.PixmapMutator
setPixelAt, setPixels
-
Method Details
-
setRgbAt
Sets an integer value interpreted as pixel in the pixmap.- Parameters:
aRgbPixel
- 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.
-
setColorAt
Sets an integer value interpreted as 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.
-