DimensionConstraints

data class DimensionConstraints(val ideal: Int? = null, val min: Int? = null, val max: Int? = null, val exact: Int? = null)

Represents constraint values for a media dimension.

Constructors

Link copied to clipboard
constructor(ideal: Int? = null, min: Int? = null, max: Int? = null, exact: Int? = null)

Properties

Link copied to clipboard
val exact: Int? = null
Link copied to clipboard
val ideal: Int? = null
Link copied to clipboard
val max: Int? = null
Link copied to clipboard
val min: Int? = null

Functions

Link copied to clipboard
fun toMap(): Map<String, Int?>