ImageDescriptor

data class ImageDescriptor(val uri: URI, val size: ImageSize)

Generic descriptor of an Image. Provides the image URI and the calculated ImageSize.

Parameters

uri

The URI of the image.

size

The ImageSize of the image.

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

Constructors

Link copied to clipboard
fun ImageDescriptor(uri: URI, size: ImageSize)

Properties

Link copied to clipboard
val size: ImageSize
Link copied to clipboard
val uri: URI