ResolvedTextNode class

A block of text that has its position and final transfrom fully known.

This should only be constructed from a TextNode in a ResolvingVisitor.

Constructors

ResolvedTextNode({required TextConfig textConfig, required Paint paint})
Create a new ResolvedTextNode.

Properties

hashCode int
The hash code for this object.
no setterinherited
paint Paint
The paint used to draw this piece of text.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textConfig TextConfig
The text configuration to draw this piece of text.
final

Methods

accept<S, V>(Visitor<S, V> visitor, V data) → S
Accept a Visitor implementation.
applyAttributes(SvgAttributes newAttributes, {bool replace = false}) → Node
Creates a new compatible new node with attribute inheritence.
inherited
concatTransform(AffineMatrix currentTransform) AffineMatrix
Subclasses that have additional transformation information will concatenate their transform to the supplied currentTransform.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
visitChildren(NodeCallback visitor) → void
Calls visitor for each child node of this parent group.

Operators

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