Class ARGBScreenImage

    • Field Detail

      • data

        protected final int[] data
      • image

        protected final java.awt.image.BufferedImage image
      • ARGB_COLOR_MODEL

        public static final java.awt.image.ColorModel ARGB_COLOR_MODEL
    • Constructor Detail

      • ARGBScreenImage

        public ARGBScreenImage​(int width,
                               int height)
      • ARGBScreenImage

        public ARGBScreenImage​(int width,
                               int height,
                               IntArray data)
        Create an Image with data. Writing to the data array will update the Image.
      • ARGBScreenImage

        public ARGBScreenImage​(int width,
                               int height,
                               int[] data)
        Create an Image with data. Writing to the data array will update the Image.
    • Method Detail

      • getData

        public int[] getData()
        The underlying array holding the data. Writing to this array will change the content of the Image returned by image()