Package rekit.primitives.image
Class AbstractImage
java.lang.Object
rekit.primitives.image.AbstractImage
This class represents an abstract version of an Image.
- Author:
- Dominik Fuchss
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractImage
(int height, int width, byte[] pixels) Create an Abstract Image. -
Method Summary
-
Field Details
-
width
public final int widthThe width. -
height
public final int heightThe height. -
pixels
public final byte[] pixelsThis array contains the RGBA values of the image in this order R->G->B->A.
-
-
Constructor Details
-
AbstractImage
public AbstractImage(int height, int width, byte[] pixels) Create an Abstract Image.- Parameters:
height
- the heightwidth
- the widthpixels
- the pixels
-