GraphicsNode class final

An image from \includegraphics (trusted input only).

Inheritance

Constructors

GraphicsNode(SourceSpan span, String source, {Dimension? width, Dimension? height, Dimension? totalHeight, String? alt})
Creates an image.
const

Properties

alt → String?
Alternative text.
final
children → Iterable<MathNode>
The non-null children.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
height → Dimension?
Requested height above the baseline.
final
kind → String
Short name used by dump.
no setteroverride
props → Map<String, Object?>
Scalar attributes, for dump and tooling.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slots → List<(String, MathNode?)>
Named child slots, in source order. Absent children are null.
no setterinherited
source → String
Image URL.
final
span → SourceSpan
Where in the normalized source this node came from.
finalinherited
totalHeight → Dimension?
Requested height plus depth.
final
width → Dimension?
Requested width.
final

Methods

dump() → String
A compact, deterministic s-expression of the subtree, for tests and debugging. Spans are omitted.
inherited
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