Package org.refcodes.graphical
Interface Pixmap.PixmapPropertyBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>>
-
- Type Parameters:
PX
- The type of the pixel being managed by thePixmap
.B
- the generic type
- All Superinterfaces:
Pixmap<PX>
,Pixmap.PixmapBuilder<PX,Pixmap.PixmapPropertyBuilder<PX,B>>
,Pixmap.PixmapMutator<PX>
,Pixmap.PixmapProperty<PX>
public static interface Pixmap.PixmapPropertyBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>> extends Pixmap.PixmapProperty<PX>, Pixmap.PixmapBuilder<PX,Pixmap.PixmapPropertyBuilder<PX,B>>
Provides a pixmap property builder.
-
-
Nested Class Summary
-
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>, Pixmap.PixmapPropertyBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>>
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default B
withPixelAt(PX aPixel, int aPosX, int aPosY)
With pixel at.default B
withPixels(PX[][] aPixels)
With pixels.-
Methods inherited from interface org.refcodes.graphical.Pixmap
getPixelAt, getPixels, getPixmapHeight, getPixmapWidth
-
Methods inherited from interface org.refcodes.graphical.Pixmap.PixmapMutator
setPixelAt, setPixels
-
-
-
-
Method Detail
-
withPixelAt
default B withPixelAt(PX aPixel, int aPosX, int aPosY) throws java.lang.IndexOutOfBoundsException
With pixel at.- Specified by:
withPixelAt
in interfacePixmap.PixmapBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>>
- Parameters:
aPixel
- the pixelaPosX
- the pos XaPosY
- the pos Y- Returns:
- the b
- Throws:
java.lang.IndexOutOfBoundsException
- the index out of bounds exception
-
withPixels
default B withPixels(PX[][] aPixels)
With pixels.- Specified by:
withPixels
in interfacePixmap.PixmapBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>>
- Parameters:
aPixels
- the pixels- Returns:
- the b
-
-