public static class RgbPixmapImpl.RgbPixmapPropertyBuilderImpl extends RgbPixmapImpl implements RgbPixmap.RgbPixmapPropertyBuilder
RgbPixmapImpl.RgbPixmapPropertyBuilderImplRgbPixmap.RgbPixmapBuilder<B extends RgbPixmap.RgbPixmapBuilder<B>>, RgbPixmap.RgbPixmapMutator, RgbPixmap.RgbPixmapProperty, RgbPixmap.RgbPixmapPropertyBuilderPixmap.PixmapBuilder<PX,B extends Pixmap.PixmapBuilder<PX,B>>, Pixmap.PixmapMutator<PX>, Pixmap.PixmapProperty<PX>, Pixmap.PixmapPropertyBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>>_pixels| Constructor and Description |
|---|
RgbPixmapPropertyBuilderImpl()
Instantiates a new rgb pixmap property builder impl.
|
RgbPixmapPropertyBuilderImpl(int aWidth,
int aHeight)
Instantiates a new rgb pixmap property builder impl.
|
RgbPixmapPropertyBuilderImpl(RgbPixel[][] aPixels)
Instantiates a new rgb pixmap property builder impl.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setPixelAt(int aPixel,
int aPosX,
int aPosY)
Sets an integer value interpreted as pixel in the pixmap.
|
void |
setPixelAt(RgbPixel aPixel,
int aPosX,
int aPosY)
Sets a pixel in the pixmap.
|
void |
setPixels(RgbPixel[][] aPixels)
Sets the pixels.
|
RgbPixmap.RgbPixmapPropertyBuilder |
withPixelAt(int aPixel,
int aPosX,
int aPosY)
Sets an integer value interpreted as pixel in the pixmap.
|
RgbPixmap.RgbPixmapPropertyBuilder |
withPixelAt(RgbPixel aPixel,
int aPosX,
int aPosY)
Sets the pixmap for the pixmap property.
|
RgbPixmap.RgbPixmapPropertyBuilder |
withPixels(RgbPixel[][] aPixels)
With pixels.
|
getPixelAt, getPixels, getPixmapHeight, getPixmapWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPixelAt, getPixels, getPixmapHeight, getPixmapWidthpublic RgbPixmapPropertyBuilderImpl()
public RgbPixmapPropertyBuilderImpl(int aWidth,
int aHeight)
aWidth - the widthaHeight - the heightpublic RgbPixmapPropertyBuilderImpl(RgbPixel[][] aPixels)
aPixels - the pixelspublic RgbPixmap.RgbPixmapPropertyBuilder withPixels(RgbPixel[][] aPixels)
withPixels in interface Pixmap.PixmapBuilder<RgbPixel,RgbPixmap.RgbPixmapPropertyBuilder>aPixels - the pixelspublic void setPixelAt(RgbPixel aPixel, int aPosX, int aPosY) throws IndexOutOfBoundsException
setPixelAt in interface Pixmap.PixmapMutator<RgbPixel>aPixel - The pixel to be placed at the given position.aPosX - The x position of the pixel.aPosY - The y position of the pixel.IndexOutOfBoundsException - in case the index is out of bounds.public void setPixels(RgbPixel[][] aPixels)
setPixels in interface Pixmap.PixmapMutator<RgbPixel>aPixels - the new pixelspublic RgbPixmap.RgbPixmapPropertyBuilder withPixelAt(RgbPixel aPixel, int aPosX, int aPosY) throws IndexOutOfBoundsException
withPixelAt in interface Pixmap.PixmapBuilder<RgbPixel,RgbPixmap.RgbPixmapPropertyBuilder>aPixel - the pixelaPosX - the pos XaPosY - the pos YIndexOutOfBoundsException - in case the index is out of bounds.public RgbPixmap.RgbPixmapPropertyBuilder withPixelAt(int aPixel, int aPosX, int aPosY) throws IndexOutOfBoundsException
withPixelAt in interface RgbPixmap.RgbPixmapBuilder<RgbPixmap.RgbPixmapPropertyBuilder>aPixel - The pixel to be placed at the given position.aPosX - The x position of the pixel.aPosY - The y position of the pixel.IndexOutOfBoundsException - in case the index is out of bounds.public void setPixelAt(int aPixel,
int aPosX,
int aPosY)
throws IndexOutOfBoundsException
setPixelAt in interface RgbPixmap.RgbPixmapMutatoraPixel - The pixel to be placed at the given position.aPosX - The x position of the pixel.aPosY - The y position of the pixel.IndexOutOfBoundsException - in case the index is out of bounds.Copyright © 2018. All rights reserved.