UEpubPaginator class
Internal: splits chapters into pages.
Constructors
- UEpubPaginator({required UEpubTypography typography, required Size size, required TextScaler textScaler})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → Size
-
final
- textScaler → TextScaler
-
final
- typography → UEpubTypography
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paginate(
UEpubChapter chapter) → List< UEpubPage> -
paginateSlices(
UEpubChapter chapter, {required TextPainter painterFor(UEpubBlock block, double width), double measureOther(UEpubBlock block, double width)?}) → List< UEpubPage> -
Splits a chapter into pages of UEpubSlices.
painterFormust return a laid-out painter for a text block using exactly the style it is rendered with, so page breaks land on real line boundaries. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited