ReflowableWebPreferences

@Serializable
data class ReflowableWebPreferences(val backgroundColor: Color? = null, val columnCount: Int? = null, val fontFamily: FontFamily? = null, val fontSize: Double? = null, val fontWeight: Double? = null, val hyphens: Boolean? = null, val imageFilter: ImageFilter? = null, val language: Language? = null, val letterSpacing: Double? = null, val ligatures: Boolean? = null, val lineHeight: Double? = null, val linkColor: Color? = null, val maximalLineLength: Double? = null, val minimalLineLength: Double? = null, val minMargins: Double? = null, val optimalLineLength: Double? = null, val overridePublisherColors: Boolean? = null, val paragraphIndent: Double? = null, val paragraphSpacing: Double? = null, val readingProgression: ReadingProgression? = null, val scroll: Boolean? = null, val textAlign: TextAlign? = null, val textColor: Color? = null, val textNormalization: Boolean? = null, val verticalText: Boolean? = null, val visitedColor: Color? = null, val wordSpacing: Double? = null) : Preferences<ReflowableWebPreferences>

Preferences for the Reflowable Web navigator.

Parameters

backgroundColor

Page background color.

columnCount

Number of reflowable columns to display.

fontFamily

Default typeface for the text.

fontSize

Base text font size.

fontWeight

Default boldness for the text.

hyphens

Enable hyphenation.

imageFilter

Filter applied to images in dark theme.

language

Language of the publication content.

letterSpacing

Space between letters.

ligatures

Enable ligatures in Arabic.

lineHeight

Leading line height.

linkColor

Link color.

maximalLineLength

Optional maximal line length

minimalLineLength

Optional minimal line length

minMargins

Factor applied to horizontal margins.

optimalLineLength

Optimal line length

overridePublisherColors

If color preferences should be applied only as a fallback or override publisher colors.

paragraphIndent

Text indentation for paragraphs.

paragraphSpacing

Vertical margins for paragraphs.

readingProgression

Direction of the reading progression across resources.

scroll

Indicates if the overflow of resources should be handled using scrolling instead of synthetic pagination.

textAlign

Page text alignment.

textColor

Page text color.

textNormalization

Normalize text styles to increase accessibility.

verticalText

Indicates whether the text should be laid out vertically. This is used for example with CJK languages. This setting is automatically derived from the language if no preference is given.

visitedColor

Color for visited links.

wordSpacing

Space between words.

Constructors

Link copied to clipboard
constructor(backgroundColor: Color? = null, columnCount: Int? = null, fontFamily: FontFamily? = null, fontSize: Double? = null, fontWeight: Double? = null, hyphens: Boolean? = null, imageFilter: ImageFilter? = null, language: Language? = null, letterSpacing: Double? = null, ligatures: Boolean? = null, lineHeight: Double? = null, linkColor: Color? = null, maximalLineLength: Double? = null, minimalLineLength: Double? = null, minMargins: Double? = null, optimalLineLength: Double? = null, overridePublisherColors: Boolean? = null, paragraphIndent: Double? = null, paragraphSpacing: Double? = null, readingProgression: ReadingProgression? = null, scroll: Boolean? = null, textAlign: TextAlign? = null, textColor: Color? = null, textNormalization: Boolean? = null, verticalText: Boolean? = null, visitedColor: Color? = null, wordSpacing: Double? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
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: ReflowableWebPreferences): ReflowableWebPreferences