Bitmap

interface Bitmap

A Bitmap represents a 2D image.

Important: This is a Public Preview API. It may be changed or removed at any time.

Properties

Link copied to clipboard

The configuration of the Bitmap.

Link copied to clipboard
abstract val colorSpace: ColorSpace

The color space of the Bitmap.

Link copied to clipboard
abstract val height: Int

The height of the image in pixels.

Link copied to clipboard
abstract val width: Int

The width of the image in pixels.

Inherited functions

Link copied to clipboard

Converts the Bitmap to an Android Bitmap in android.graphics.Bitmap.Config.ARGB_8888 configuration.