PX
- The type of the pixel being managed by the Pixmap
.B
- the generic typepublic static interface Pixmap.PixmapPropertyBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>> extends Pixmap.PixmapProperty<PX>, Pixmap.PixmapBuilder<PX,Pixmap.PixmapPropertyBuilder<PX,B>>
Pixmap.PixmapBuilder<PX,B extends Pixmap.PixmapBuilder<PX,B>>, Pixmap.PixmapMutator<PX>, Pixmap.PixmapProperty<PX>, Pixmap.PixmapPropertyBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>>
Modifier and Type | Method and Description |
---|---|
default B |
withPixelAt(PX aPixel,
int aPosX,
int aPosY)
With pixel at.
|
default B |
withPixels(PX[][] aPixels)
With pixels.
|
getPixelAt, getPixels, getPixmapHeight, getPixmapWidth
setPixelAt, setPixels
default B withPixelAt(PX aPixel, int aPosX, int aPosY) throws IndexOutOfBoundsException
withPixelAt
in interface Pixmap.PixmapBuilder<PX,Pixmap.PixmapPropertyBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>>>
aPixel
- the a pixelaPosX
- the a pos XaPosY
- the a pos YIndexOutOfBoundsException
- the index out of bounds exceptiondefault B withPixels(PX[][] aPixels)
withPixels
in interface Pixmap.PixmapBuilder<PX,Pixmap.PixmapPropertyBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>>>
aPixels
- the a pixelsCopyright © 2017. All rights reserved.