Bitmap

constructor()

Creates an empty Bitmap without pixels, with ColorType.UNKNOWN, ColorAlphaType.UNKNOWN, and with a width and height of zero. PixelRef origin is set to (0, 0). Bitmap is not volatile.

Use .setImageInfo to associate ColorType, ColorAlphaType, width, and height after Bitmap has been created.

See also