PX
- The type of the pixel being managed by the Pixmap
.B
- the generic typePixmap<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>>
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 | 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,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,B extends Pixmap.PixmapPropertyBuilder<PX,B>>
aPixels
- the pixelsCopyright © 2018. All rights reserved.