PX
- The type of the pixel being managed by the Pixmap
.B
- The builder to return in order to be able to apply multiple
build operations.public static interface Pixmap.PixmapBuilder<PX,B extends Pixmap.PixmapBuilder<PX,B>>
Modifier and Type | Method and Description |
---|---|
B |
withPixelAt(PX aPixel,
int aPosX,
int aPosY)
Sets the pixmap for the pixmap property.
|
B |
withPixels(PX[][] aPixels)
With pixels.
|
B withPixelAt(PX aPixel, int aPosX, int aPosY) throws IndexOutOfBoundsException
aPixel
- the pixelaPosX
- the pos XaPosY
- the pos YIndexOutOfBoundsException
- in case the index is out of bounds.Copyright © 2018. All rights reserved.