PdfiumPreferences

@Serializable
data class PdfiumPreferences(val fit: Fit? = null, val pageSpacing: Double? = null, val readingProgression: ReadingProgression? = null, val scroll: Boolean? = null, val scrollAxis: Axis? = null) : Configurable.Preferences<PdfiumPreferences>

Preferences for the PDF navigator with the PDFium adapter.

Parameters

fit

Indicates how pages should be laid out within the viewport.

pageSpacing

Space between pages in dp.

readingProgression

Direction of the horizontal progression across pages.

scroll

Indicates whether the pages should scroll continuously. When false, page flings snap to page boundaries (paginated feel).

scrollAxis

Indicates the axis along which pages should be laid out in scroll mode.

Constructors

Link copied to clipboard
constructor(fit: Fit? = null, pageSpacing: Double? = null, readingProgression: ReadingProgression? = null, scroll: Boolean? = null, scrollAxis: Axis? = null)

Properties

Link copied to clipboard
val fit: Fit?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun plus(other: PdfiumPreferences): PdfiumPreferences