EpubPage

One reflowed EPUB page: paints backgrounds/borders, then text lines and images.

Properties

Link copied to clipboard
open override val displayHeight: Double
Link copied to clipboard
open override val displayWidth: Double
Link copied to clipboard
Link copied to clipboard

The tappable link regions on this page, in display space (same rect convention as KiteStructuredText: y-min in bottom, y-max in top, y measured downward). One rect per line a link touches; consecutive same-target runs on a line merge into one rect. Internal targets are zipPath#fragment strings resolvable via EpubDocument.pageIndexOfHref; external URLs are verbatim.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun displayToDeviceBase(): Matrix

EPUB is y-down from top-left, so the base is a straight vertical flip.

Link copied to clipboard
open override fun renderTo(canvas: KiteCanvas, deviceCtm: Matrix)
Link copied to clipboard
open override fun textContent(): KiteStructuredText