Image vs Bitmap class

前端 未结 3 593
半阙折子戏
半阙折子戏 2020-12-08 01:53

I have trouble understanding the differences between the Image class and the Bitmap class. Now, I know that the Bitmap inherits from t

3条回答
  •  借酒劲吻你
    2020-12-08 02:17

    The Bitmap class is an implementation of the Image class. The Image class is an abstract class;

    The Bitmap class contains 12 constructors that construct the Bitmap object from different parameters. It can construct the Bitmap from another bitmap, and the string address of the image.

    See more in this comprehensive sample.

提交回复
热议问题