Interface RgbPixmap.RgbPixmapMutator

    • Method Detail

      • setRgbAt

        default void setRgbAt​(int aRgbPixel,
                              int aPosX,
                              int aPosY)
                       throws IndexOutOfBoundsException
        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

        default void setColorAt​(Color aPixel,
                                int aPosX,
                                int aPosY)
                         throws IndexOutOfBoundsException
        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.