Interface Pixmap<PX>

    • Method Detail

      • getPixels

        PX[][] getPixels​()
        Returns the two dimensional pixels array representing the pixmap.
        Returns:
        The pixmap array.
      • getPixmapWidth

        int getPixmapWidth​()
        Retrieves the width of the Pixmap.
        Returns:
        The width of the Pixmap
      • getPixmapHeight

        int getPixmapHeight​()
        Retrieves the height of the Pixmap.
        Returns:
        The height of the Pixmap
      • getPixelAt

        PX getPixelAt​(int aPosX,
                      int aPosY)
               throws java.lang.IndexOutOfBoundsException
        Retrieves a pixel at a given position.
        Parameters:
        aPosX - The x position for the pixel to be retrieved.
        aPosY - The y position for the pixel to be retrieved.
        Returns:
        The according pixel
        Throws:
        java.lang.IndexOutOfBoundsException - in case the index is out of bounds.