AspectRatio

data class AspectRatio(val aspectRatio: Double = 0.66666666666) : ContentDisplayAreaOptions

Restrict the Content Display Area based on a fixed aspect-ratio.

Constructors

Link copied to clipboard
constructor(aspectRatio: Double = 0.66666666666)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val aspectRatio: Double = 0.66666666666

The aspect-ratio to use for Content Display Areas. Defined as (width / height).

Link copied to clipboard

Identifies the type of Content Display Area options.

Functions

Link copied to clipboard
open override fun serialize(generator: JsonGenerator)