Package org.refcodes.graphical
Interface Pixmap.PixmapBuilder<PX,B extends Pixmap.PixmapBuilder<PX,B>>
-
- Type Parameters:
PX
- The type of the pixel being managed by thePixmap
.B
- The builder to return in order to be able to apply multiple build operations.
- All Known Subinterfaces:
Pixmap.PixmapPropertyBuilder<PX,B>
,RgbPixmap.RgbPixmapBuilder<B>
,RgbPixmap.RgbPixmapPropertyBuilder
- All Known Implementing Classes:
RgbPixmapImpl.RgbPixmapPropertyBuilderImpl
public static interface Pixmap.PixmapBuilder<PX,B extends Pixmap.PixmapBuilder<PX,B>>
Provides a builder method for a pixmap property returning the builder for applying multiple build operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description B
withPixelAt(PX aPixel, int aPosX, int aPosY)
Sets the pixmap for the pixmap property.B
withPixels(PX[][] aPixels)
With pixels.
-
-
-
Method Detail
-
withPixelAt
B withPixelAt(PX aPixel, int aPosX, int aPosY) throws java.lang.IndexOutOfBoundsException
Sets the pixmap for the pixmap property.- Parameters:
aPixel
- the pixelaPosX
- the pos XaPosY
- the pos Y- Returns:
- The builder for applying multiple build operations.
- Throws:
java.lang.IndexOutOfBoundsException
- in case the index is out of bounds.
-
-