Interface Pixmap.PixmapProperty<PX>

    • Method Detail

      • letPixels

        default PX[][] letPixels​(PX[][] aPixels)
        This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given pixels (setter) as of Pixmap.PixmapMutator.setPixels(Object[][]) and returns the very same value (getter).
        Parameters:
        aPixels - The pixels to set (via Pixmap.PixmapMutator.setPixels(Object[][])).
        Returns:
        Returns the value passed for it to be used in conclusive processing steps.
      • letRgbAt

        default PX letRgbAt​(PX aPixel,
                            int aPosX,
                            int aPosY)
        This method stores and passes through the given argument, which is very useful for builder APIs: Sets the given pixels (setter) as of Pixmap.PixmapMutator.setPixelAt(Object, int, int) and returns the very same value (getter).
        Parameters:
        aPixel - The pixel to set.
        aPosX - The X position where to set the pixel.
        aPosY - The Y position where to set the pixel.
        Returns:
        Returns the pixel passed for it to be used in conclusive processing steps.