Window

class Window(val pagesBefore: Int, val pagesAfter: Int) : PdfPageCacheStrategy

Explicit warm window. The viewer tries to keep pagesBefore pages above the visible one and pagesAfter below pre- rasterised; the memory budget evicts the oldest entry when that would overflow.

Passing (Int.MAX_VALUE, Int.MAX_VALUE) is equivalent to All.

Constructors

Link copied to clipboard
constructor(pagesBefore: Int, pagesAfter: Int)

Properties

Link copied to clipboard
Link copied to clipboard