Interface RgbPixmap.RgbPixmapBuilder

    • Method Detail

      • withRgbAt

        default RgbPixmap.RgbPixmapBuilder withRgbAt​(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.
        Returns:
        the RgbPixmapBuilder
        Throws:
        IndexOutOfBoundsException - in case the index is out of bounds.
      • withColorlAt

        default RgbPixmap.RgbPixmapBuilder withColorlAt​(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.
        Returns:
        the RgbPixmapBuilder
        Throws:
        IndexOutOfBoundsException - in case the index is out of bounds.