Package-level declarations

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface Bitmap

A Bitmap represents a 2D image.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
value class BitmapConfig

Represents the configuration of a Bitmap.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
interface ColorSpace

Represents the color space of a Bitmap.

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
class RgbColorSpace : ColorSpace

A RGB color space is an additive color space using the RGB color model. A color is therefore represented by a tuple of 3 numbers.

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.