- All Superinterfaces:
HeightAccessor
,Pixmap<RgbPixel>
,WidthAccessor
- All Known Subinterfaces:
RgbPixmap.RgbPixmapBuilder
,RgbPixmap.RgbPixmapProperty
- All Known Implementing Classes:
RgbPixmapBuilderImpl
,RgbPixmapImpl
The Interface RgbPixmap.
- Author:
- steiner
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The Interface RgbPixmapBuilder.static interface
The Interface RgbPixmapMutator.static interface
The Interface RgbPixmapProperty.Nested classes/interfaces inherited from interface org.refcodes.graphical.HeightAccessor
HeightAccessor.HeightBuilder<B extends HeightAccessor.HeightBuilder<B>>, HeightAccessor.HeightMutator, HeightAccessor.HeightProperty
Nested classes/interfaces inherited from interface org.refcodes.graphical.Pixmap
Pixmap.PixmapBuilder<PX,
B extends Pixmap.PixmapBuilder<PX, B>>, Pixmap.PixmapMutator<PX>, Pixmap.PixmapProperty<PX> Nested classes/interfaces inherited from interface org.refcodes.graphical.WidthAccessor
WidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault Color
getColorAt
(int aPosX, int aPosY) Returns the AWT'sColor
representation of the pixel at the according position.default int
getRgbAt
(int aPosX, int aPosY) Returns the AWT'sColor
representation of the pixel at the according position.Methods inherited from interface org.refcodes.graphical.Pixmap
getHeight, getPixelAt, getPixels, getWidth, hasPixelAt
-
Method Details
-
getRgbAt
default int getRgbAt(int aPosX, int aPosY) Returns the AWT'sColor
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
Returns the AWT'sColor
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
.
-