Bitmap

@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface Bitmap

A Bitmap represents a 2D image.

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
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
fun Bitmap.toAndroidBitmap(): Bitmap

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