RitoArtifact class final

Constructors

RitoArtifact({required int protocolVersion, required int capabilityProfileId, required int sessionId, required int requestId, required int revisionId, required int revisionVersion, required int artifactId, required RitoLocator locator, required RitoLocatorMatch matchedBy, required int localPageIndex, required int localSpreadIndex, required List<int> localPageIndexes, required double width, required double height, int? bookPageIndex, int? bookPageCount, required RitoNavigation navigation, required RitoTextProfile textProfile, required RitoDisplayListPayload displayList, required List<RitoResourceRef> resources, required List<RitoFontRef> fonts, required List<RitoPage> pages})

Properties

artifactId → int
final
bookPageCount → int?
Total pages in the book, present together with bookPageIndex on every artifact of a whole-book revision: the revision holds its complete page table from the moment it exists, so the first background candidate already carries the total. Null on chapter-local artifacts.
final
bookPageIndex → int?
Zero-based page number within the whole book. Null until the whole-book layout backs this artifact (before that, only localPageIndex exists and it is a rollover-window ordinal, not a page number). Hosts should hide page numbering rather than show 0.
final
capabilityProfileId → int
final
displayList → RitoDisplayListPayload
final
fonts → List<RitoFontRef>
final
hashCode → int
The hash code for this object.
no setterinherited
height → double
final
localPageIndex → int
final
localPageIndexes → List<int>
final
localSpreadIndex → int
final
locator → RitoLocator
final
matchedBy → RitoLocatorMatch
final
final
pages → List<RitoPage>
final
protocolVersion → int
final
requestId → int
final
resources → List<RitoResourceRef>
final
revisionId → int
final
revisionVersion → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sessionId → int
final
textProfile → RitoTextProfile
final
width → double
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited