Class AbstractImage

java.lang.Object
rekit.primitives.image.AbstractImage

public final class AbstractImage extends Object
This class represents an abstract version of an Image.
Author:
Dominik Fuchss
  • Field Details

    • width

      public final int width
      The width.
    • height

      public final int height
      The height.
    • pixels

      public final byte[] pixels
      This 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 height
      width - the width
      pixels - the pixels