PageData class

Represents a single, measured page of text that is ready to be rasterized into sprites.

Properties

hashCode → int
The hash code for this object.
no setterinherited
isEmpty → bool
no setter
isRasterized → bool
no setter
layout → TextLayout
final
lineTexts → List<String>
no setter
rasterizedSprites → List<TxSprite>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pack() → Uint8List
Packs the page layout data for transmission to a device.
rasterize() → Future<void>
Rasterizes the measured lines into a list of TxSprite objects. Each sprite represents one line of text.
toPngBytes() → Future<Uint8List>
Generates a single PNG image of the entire page for debugging or verification.
toString() → String
A string representation of this object.
inherited

Operators

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