ImageVariantVariantOptions

data class ImageVariantVariantOptions(val fit: String? = null, val height: Double? = null, val metadata: String? = null, val width: Double? = null)

Constructors

Link copied to clipboard
constructor(fit: String? = null, height: Double? = null, metadata: String? = null, width: Double? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val fit: String? = null

The fit property describes how the width and height dimensions should be interpreted. Available values: "scale-down", "contain", "cover", "crop", "pad".

Link copied to clipboard
val height: Double? = null

Maximum height in image pixels.

Link copied to clipboard
val metadata: String? = null

What EXIF data should be preserved in the output image. Available values: "keep", "copyright", "none".

Link copied to clipboard
val width: Double? = null

Maximum width in image pixels.