ContentDisplayAreaOptions

Base interface for all types of Content Display Area options.

Inheritors

Types

Link copied to clipboard
data class AspectRatio(val aspectRatio: Double = 0.66666666666) : ContentDisplayAreaOptions

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

Link copied to clipboard
data class CalculatedFromPublication(val fallbackAspectRatio: Double = 0.66666666666) : ContentDisplayAreaOptions

Content Display Areas are based on the aspect-ratio derived from the publication's fixed-layout documents, if any exist. Otherwise, the aspect ratio is derived from the publication's cover image.

Link copied to clipboard

Content Display Areas fill the ReaderView element.

Properties

Link copied to clipboard

Identifies the type of Content Display Area options.

Functions

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