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, getPixmapWidthsetPixelAt, setPixelsdefault 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 pixelaPosX - the pos XaPosY - the 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 pixelsCopyright © 2018. All rights reserved.