PdfContentElement class
One deletable drawing on a page: a contiguous run of content-stream operations together with what they paint and roughly where.
Properties
- bounds → PdfRect?
-
Approximate user-space bounding box: exact anchor points for paths
and placed images, estimated extents for text (Helvetica metrics
stand in for the real font). Null when no geometry is tracked
(shading fills, degenerate transforms).
final
- end → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → int
-
Stable handle for PdfContentEditing.deleteElements.
final
- imageHeight → int?
-
Pixel height for image-like elements when declared by the content stream
or image XObject dictionary.
final
- imageWidth → int?
-
Pixel width for image-like elements when declared by the content stream
or image XObject dictionary.
final
- kind → PdfElementKind
-
final
- resourceName → String?
-
The /XObject resource name for PdfElementKind.image and
PdfElementKind.form.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- start → int
-
Operation index range
[start, end)in the parsed content.final - text → String?
-
The shown characters, Latin-1-decoded, for PdfElementKind.text.
Multi-byte and symbolic encodings come out garbled but unique.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited