Class BitmapRGBA8


  • public class BitmapRGBA8
    extends Bitmap
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private byte[] data  
      private int h  
      private int w  
    • Constructor Summary

      Constructors 
      Constructor Description
      BitmapRGBA8​(int w, int h, byte[] data)  
    • Field Detail

      • w

        private int w
      • h

        private int h
      • data

        private byte[] data
    • Constructor Detail

      • BitmapRGBA8

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

      • getWidth

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

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

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