Package-level declarations

Types

Link copied to clipboard

Reading mode.

Link copied to clipboard

CSS box sizing.

Link copied to clipboard

Number of CSS columns.

Link copied to clipboard
interface Color : Cssable

CSS color.

Link copied to clipboard
fun interface Cssable
Link copied to clipboard

Styles that a font can be styled with.

Link copied to clipboard

Weight (or boldness) of a font.

Link copied to clipboard

CSS hyphenation.

Link copied to clipboard
interface Length : Cssable

CSS length dimension.

Link copied to clipboard

CSS ligatures.

Link copied to clipboard

A mutable font face declaration.

Link copied to clipboard

A mutable font family declaration.

Link copied to clipboard
interface Properties : Cssable

Holds a set of Readium CSS properties applied together.

Link copied to clipboard
data class RsProperties(val colWidth: Length? = null, val colCount: ColCount? = null, val colGap: Length.Absolute? = null, val pageGutter: Length.Absolute? = null, val flowSpacing: Length? = null, val paraSpacing: Length? = null, val paraIndent: Length? = null, val maxLineLength: Length.Rem? = null, val maxMediaWidth: Length? = null, val maxMediaHeight: Length? = null, val boxSizingMedia: BoxSizing? = null, val boxSizingTable: BoxSizing? = null, val textColor: Color? = null, val backgroundColor: Color? = null, val selectionTextColor: Color? = null, val selectionBackgroundColor: Color? = null, val linkColor: Color? = null, val visitedColor: Color? = null, val primaryColor: Color? = null, val secondaryColor: Color? = null, val typeScale: Double? = null, val baseFontFamily: List<String>? = null, val baseLineHeight: Either<Length, Double>? = null, val oldStyleTf: List<String>? = null, val modernTf: List<String>? = null, val sansTf: List<String>? = null, val humanistTf: List<String>? = null, val monospaceTf: List<String>? = null, val serifJa: List<String>? = null, val sansSerifJa: List<String>? = null, val serifJaV: List<String>? = null, val sansSerifJaV: List<String>? = null, val compFontFamily: List<String>? = null, val codeFontFamily: List<String>? = null, val overrides: Map<String, String?> = emptyMap()) : Properties

Reading System properties.

Link copied to clipboard

CSS text alignment.

Link copied to clipboard
data class UserProperties(val view: View? = null, val colCount: ColCount? = null, val pageMargins: Double? = null, val appearance: Appearance? = null, val darkenImages: Boolean? = null, val invertImages: Boolean? = null, val textColor: Color? = null, val backgroundColor: Color? = null, val fontOverride: Boolean? = null, val fontFamily: List<String>? = null, val fontSize: Length? = null, val advancedSettings: Boolean? = null, val typeScale: Double? = null, val textAlign: TextAlign? = null, val lineHeight: Either<Length, Double>? = null, val paraSpacing: Length? = null, val paraIndent: Length.Rem? = null, val wordSpacing: Length.Rem? = null, val letterSpacing: Length.Rem? = null, val bodyHyphens: Hyphens? = null, val ligatures: Ligatures? = null, val a11yNormalize: Boolean? = null, val overrides: Map<String, String?> = emptyMap()) : Properties

User settings properties.

Link copied to clipboard
enum View : Cssable, Enum<View>

User view.