PdfContentComment class

Comment % ….

Comments have no effect on rendering. The parser only returns them when keepComments is on; in that case the writer re-emits them, which allows a truly lossless round-trip on commented streams.

Inheritance

Constructors

PdfContentComment(String text)
Creates a comment; text does not include the leading %.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
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
text → String
Comment text, without the %.
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