Interface RgbPixmap.RgbPixmapProperty

    • Method Detail

      • letRgbAt

        default int letRgbAt​(int aRgbPixel,
                             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 RgbPixmap.RgbPixmapMutator.setRgbAt(int, int, int) and returns the very same value (getter).
        Parameters:
        aRgbPixel - 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.
      • letColorAt

        default Color letColorAt​(Color 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 RgbPixmap.RgbPixmapMutator.setRgbAt(int, 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.