ImageSize

data class ImageSize(@IntRange(from = 0) val width: Int, @IntRange(from = 0) val height: Int)

Represents an Image size, described by its width and height.

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

Parameters

width

The width of the image.

height

The height of the image.

Constructors

Link copied to clipboard
fun ImageSize(@IntRange(from = 0) width: Int, @IntRange(from = 0) height: Int)

Properties

Link copied to clipboard
val height: Int
Link copied to clipboard
val width: Int