PX - The type of the pixel being managed by the Pixmap.public 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)
Sets the pixmap for the pixmap property.
|
default B |
withPixels(PX[][] aPixels) |
getPixelAt, getPixels, getPixmapHeight, getPixmapWidthsetPixelAt, setPixelsdefault B withPixelAt(PX aPixel, int aPosX, int aPosY) throws IndexOutOfBoundsException
Pixmap.PixmapBuilderwithPixelAt in interface Pixmap.PixmapBuilder<PX,Pixmap.PixmapPropertyBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>>>IndexOutOfBoundsException - in case the index is out of bounds.default B withPixels(PX[][] aPixels)
withPixels in interface Pixmap.PixmapBuilder<PX,Pixmap.PixmapPropertyBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>>>Copyright © 2017. All rights reserved.