PX - The type of the pixel being managed by the Pixmap.public interface Pixmap<PX>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Pixmap.PixmapBuilder<PX,B extends Pixmap.PixmapBuilder<PX,B>>
Provides a builder method for a pixmap property returning the builder for
applying multiple build operations.
|
static interface |
Pixmap.PixmapMutator<PX>
Provides a mutator for a pixmap property.
|
static interface |
Pixmap.PixmapProperty<PX>
Provides a pixmap property.
|
static interface |
Pixmap.PixmapPropertyBuilder<PX,B extends Pixmap.PixmapPropertyBuilder<PX,B>>
Provides a pixmap property builder.
|
| Modifier and Type | Method and Description |
|---|---|
PX |
getPixelAt(int aPosX,
int aPosY)
Retrieves a pixel at a given position.
|
PX[][] |
getPixels()
Returns the two dimensional pixels array representing the pixmap.
|
int |
getPixmapHeight()
Retrieves the height of the
Pixmap. |
int |
getPixmapWidth()
Retrieves the width of the
Pixmap. |
PX[][] getPixels()
int getPixmapWidth()
Pixmap.Pixmapint getPixmapHeight()
Pixmap.PixmapPX getPixelAt(int aPosX, int aPosY) throws IndexOutOfBoundsException
aPosX - The x position for the pixel to be retrieved.aPosY - The y position for the pixel to be retrieved.IndexOutOfBoundsException - in case the index is out of bounds.Copyright © 2017. All rights reserved.