PdfViewColors
Colours used by PdfView.
Parameters
painted behind page content (most PDFs assume white paper and paint nothing 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 PdfViewState.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 (PdfSelectionHandleDefaults.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 PdfViewState.selection quads.