PsPdfKitPreferences

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

Preferences for the PDF navigator with the PSPDFKit adapter.

Parameters

fit

Indicates how pages should be laid out within the viewport.

offsetFirstPage

Indicates if the first page should be displayed in its own spread.

pageSpacing

Space between pages in dp.

readingProgression

Direction of the horizontal progression across pages.

scroll

Indicates if pages should be handled using scrolling instead of pagination.

scrollAxis

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

spread

Indicates if the publication should be rendered with a synthetic spread (dual-page).

Constructors

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

Properties

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

Functions

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