KiteDocViewColors
Colours used by KiteDocView.
Parameters
painted behind page content. Most documents assume white paper and paint none themselves. Ignored when theme is set: the theme owns the paper colour then.
the letterbox/gutter colour around pages.
optional reading theme (ReaderTheme.Dark/ReaderTheme.Sepia/ ReaderTheme.Light). When set, page content colours are remapped (text, borders, backgrounds, not images) and the paper uses the theme background. Reflowable EPUB especially benefits: night mode without re-laying-out.
Constructors
Properties
Fill for KiteDocViewState.searchHighlights quads, drawn over the page.
The caret-and-dot markers at the selection's two boundaries. Opaque on purpose where selectionHighlight is translucent: the wash says "this much is selected", the handles say exactly where that starts and ends, and a see-through boundary marker would say neither.
How each selection boundary marker is drawn. Null uses the built-in caret-and-dot (KiteSelectionHandleDefaults.CaretAndDot). The handles are canvas vector drawing, not composables: they live inside the page's draw pass so they scale, pan and zoom in lockstep with the words they bound, which an overlay composable could only approximate.
Fill for the active KiteDocViewState.selection quads.