Interface RgbPixmap

All Superinterfaces:
HeightAccessor, Pixmap<RgbPixel>, WidthAccessor
All Known Subinterfaces:
RgbPixmap.RgbPixmapBuilder, RgbPixmap.RgbPixmapProperty
All Known Implementing Classes:
RgbPixmapBuilderImpl, RgbPixmapImpl

public interface RgbPixmap extends Pixmap<RgbPixel>
The Interface RgbPixmap.
Author:
steiner
  • Method Details

    • getRgbAt

      default int getRgbAt(int aPosX, int aPosY)
      Returns the AWT's Color representation of the pixel at the according position.
      Parameters:
      aPosX - The x position of the pixel.
      aPosY - The y position of the pixel.
      Returns:
      The according Color.
    • getColorAt

      default Color getColorAt(int aPosX, int aPosY)
      Returns the AWT's Color representation of the pixel at the according position.
      Parameters:
      aPosX - The x position of the pixel.
      aPosY - The y position of the pixel.
      Returns:
      The according Color.