Interface Pixmap.PixmapMutator<PX>

    • Method Detail

      • setPixelAt

        void setPixelAt​(PX aPixel,
                        int aPosX,
                        int aPosY)
                 throws java.lang.IndexOutOfBoundsException
        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:
        java.lang.IndexOutOfBoundsException - in case the index is out of bounds.
      • setPixels

        void setPixels​(PX[][] aPixels)
        Sets the pixels.
        Parameters:
        aPixels - the new pixels