Bitmap

data class Bitmap(val image: ImageBitmap) : ZoomableImageSource(source)

Carries Bitmap data through the SDAI presentation layer.

Author

Dmitriy Moroz

Parameters

image

image value consumed by the API.

Constructors

Link copied to clipboard
constructor(image: ImageBitmap)

Properties

Link copied to clipboard

Exposes the ZoomableImageSource value used by the SDAI presentation layer.

Link copied to clipboard

Exposes the ZoomableImageSource value used by the SDAI presentation layer.

Link copied to clipboard

Functions

Link copied to clipboard
private fun ZoomableImageSource.sizeForContainer(containerSize: IntSize, fitToWidth: Boolean): ImageContentSize

Executes the sizeForContainer step in the SDAI presentation layer.