Interface RgbPixmap.RgbPixmapProperty

All Superinterfaces:
HeightAccessor, Pixmap<RgbPixel>, Pixmap.PixmapMutator<RgbPixel>, Pixmap.PixmapProperty<RgbPixel>, RgbPixmap, RgbPixmap.RgbPixmapMutator, WidthAccessor
All Known Subinterfaces:
RgbPixmap.RgbPixmapBuilder
All Known Implementing Classes:
RgbPixmapBuilderImpl
Enclosing interface:
RgbPixmap

public static interface RgbPixmap.RgbPixmapProperty extends RgbPixmap, RgbPixmap.RgbPixmapMutator, Pixmap.PixmapProperty<RgbPixel>
The Interface RgbPixmapProperty.
  • Method Details

    • 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.