PdfInlineImage class
A complete inline image: BI … ID <bytes> EI.
The bytes between ID and EI are binary and are kept exactly as they
were in the source stream, along with the separator that follows the ID.
Re-emission is not byte for byte: the writer always puts a line break
before EI, the same spacing normalization it applies everywhere else.
- Inheritance
-
- Object
- PdfContentOperator
- PdfInlineImage
Constructors
-
PdfInlineImage(PdfContentDict dict, Uint8List data, {List<
int> separator = const <int>[0x20], bool lengthWasDeclared = false}) - Creates an inline image.
Properties
- data → Uint8List
-
Image bytes, exactly as in the stream.
final
- dict → PdfContentDict
-
Image dictionary, with the keys as they came (abbreviated or not).
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- lengthWasDeclared → bool
-
truewhen the end of the data came from/L(or/Length) and not from the heuristic search forEI.final -
operands
→ List<
PdfContentValue> -
Operands, in stream order.
finalinherited
- operator → String
-
Operator name (
Tj,cm,Do, …).finalinherited - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
separator
→ List<
int> -
Whitespace bytes between
IDand the data.final
Methods
-
nameAt(
int index) → String? -
Name operand at position
index(with the slash), when there is one.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
numberAt(
int index) → double? -
Numeric operand at position
index, when there is one.inherited -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override