Aspect Ratio
data class AspectRatio(val insets: RectMargins? = null, val aspectRatio: Double = 0.66666666666) : ContentDisplayAreaOptions
Restrict the Content Display Area based on a fixed aspect-ratio.
Properties
Link copied to clipboard
The aspect-ratio to use for Content Display Areas. Defined as (width / height).
Link copied to clipboard
Configures insets that reserve space along the edges of the ReaderView, typically set to match the device's safe area insets to keep content clear of camera notches, rounded corners, or system UI elements.
Link copied to clipboard
Identifies the type of Content Display Area options.