public static class RgbPixmapImpl.RgbPixmapPropertyBuilderImpl extends RgbPixmapImpl implements RgbPixmap.RgbPixmapPropertyBuilder
RgbPixmapImpl.RgbPixmapPropertyBuilderImpl
RgbPixmap.RgbPixmapBuilder<B extends RgbPixmap.RgbPixmapBuilder<B>>, RgbPixmap.RgbPixmapMutator, RgbPixmap.RgbPixmapProperty, RgbPixmap.RgbPixmapPropertyBuilder
Pixmap.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() |
RgbPixmapPropertyBuilderImpl(int aWidth,
int aHeight) |
RgbPixmapPropertyBuilderImpl(RgbPixel[][] aPixels) |
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) |
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) |
getPixelAt, getPixels, getPixmapHeight, getPixmapWidth
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPixelAt, getPixels, getPixmapHeight, getPixmapWidth
public RgbPixmapPropertyBuilderImpl()
public RgbPixmapPropertyBuilderImpl(int aWidth, int aHeight)
public RgbPixmapPropertyBuilderImpl(RgbPixel[][] aPixels)
public RgbPixmap.RgbPixmapPropertyBuilder withPixels(RgbPixel[][] aPixels)
withPixels
in interface Pixmap.PixmapBuilder<RgbPixel,RgbPixmap.RgbPixmapPropertyBuilder>
public void setPixelAt(RgbPixel aPixel, int aPosX, int aPosY) throws IndexOutOfBoundsException
Pixmap.PixmapMutator
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>
public RgbPixmap.RgbPixmapPropertyBuilder withPixelAt(RgbPixel aPixel, int aPosX, int aPosY) throws IndexOutOfBoundsException
Pixmap.PixmapBuilder
withPixelAt
in interface Pixmap.PixmapBuilder<RgbPixel,RgbPixmap.RgbPixmapPropertyBuilder>
IndexOutOfBoundsException
- in case the index is out of bounds.public RgbPixmap.RgbPixmapPropertyBuilder withPixelAt(int aPixel, int aPosX, int aPosY) throws IndexOutOfBoundsException
RgbPixmap.RgbPixmapBuilder
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
RgbPixmap.RgbPixmapMutator
setPixelAt
in interface RgbPixmap.RgbPixmapMutator
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.Copyright © 2016. All rights reserved.