Package org.refcodes.graphical
Interface RgbPixmap.RgbPixmapBuilder<B extends RgbPixmap.RgbPixmapBuilder<B>>
-
- Type Parameters:
B
- the generic type
- All Superinterfaces:
Pixmap.PixmapBuilder<RgbPixel,B>
- All Known Subinterfaces:
RgbPixmap.RgbPixmapPropertyBuilder
- All Known Implementing Classes:
RgbPixmapImpl.RgbPixmapPropertyBuilderImpl
- Enclosing interface:
- RgbPixmap
public static interface RgbPixmap.RgbPixmapBuilder<B extends RgbPixmap.RgbPixmapBuilder<B>> extends Pixmap.PixmapBuilder<RgbPixel,B>
The Interface RgbPixmapBuilder.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description B
withPixelAt(int aPixel, int aPosX, int aPosY)
Sets an integer value interpreted as pixel in the pixmap.-
Methods inherited from interface org.refcodes.graphical.Pixmap.PixmapBuilder
withPixelAt, withPixels
-
-
-
-
Method Detail
-
withPixelAt
B withPixelAt(int aPixel, int aPosX, int aPosY) throws java.lang.IndexOutOfBoundsException
Sets an integer value interpreted as pixel in the pixmap.- Parameters:
aPixel
- The pixel to be placed at the given position.aPosX
- The x position of the pixel.aPosY
- The y position of the pixel.- Returns:
- the b
- Throws:
java.lang.IndexOutOfBoundsException
- in case the index is out of bounds.
-
-