Class BitmapRGBA8

java.lang.Object
org.sunflow.image.Bitmap
org.sunflow.image.formats.BitmapRGBA8

public class BitmapRGBA8 extends Bitmap
  • Constructor Details

    • BitmapRGBA8

      public BitmapRGBA8(int w, int h, byte[] data)
  • Method Details

    • getWidth

      public int getWidth()
      Specified by:
      getWidth in class Bitmap
    • getHeight

      public int getHeight()
      Specified by:
      getHeight in class Bitmap
    • readColor

      public Color readColor(int x, int y)
      Specified by:
      readColor in class Bitmap
    • readAlpha

      public float readAlpha(int x, int y)
      Specified by:
      readAlpha in class Bitmap