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.

Constructors

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

Properties

Link copied to clipboard
val height: Int

The height of the image.

Link copied to clipboard
val width: Int

The width of the image.