-
- 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.
-
-
Nested Class Summary
-
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.RgbPixmap
RgbPixmap.RgbPixmapBuilder, RgbPixmap.RgbPixmapMutator, RgbPixmap.RgbPixmapProperty
-
Nested classes/interfaces inherited from interface org.refcodes.graphical.WidthAccessor
WidthAccessor.WidthBuilder<B extends WidthAccessor.WidthBuilder<B>>, WidthAccessor.WidthMutator, WidthAccessor.WidthProperty
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description 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 ofRgbPixmap.RgbPixmapMutator.setRgbAt(int, int, int)
and returns the very same value (getter).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 ofRgbPixmap.RgbPixmapMutator.setRgbAt(int, int, int)
and returns the very same value (getter).-
Methods inherited from interface org.refcodes.graphical.Pixmap
getHeight, getPixelAt, getPixels, getWidth, hasPixelAt
-
Methods inherited from interface org.refcodes.graphical.Pixmap.PixmapMutator
setPixelAt, setPixels
-
Methods inherited from interface org.refcodes.graphical.Pixmap.PixmapProperty
letPixels, letRgbAt
-
Methods inherited from interface org.refcodes.graphical.RgbPixmap
getColorAt, getRgbAt
-
Methods inherited from interface org.refcodes.graphical.RgbPixmap.RgbPixmapMutator
setColorAt, setRgbAt
-
-
-
-
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 ofRgbPixmap.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 ofRgbPixmap.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.
-
-