ResolvedImageNode class
An image node that has a fully resolved position and data.
Constructors
- ResolvedImageNode({required Uint8List data, required ImageFormat format, required Rect rect, required AffineMatrix? transform})
-
Create a new ResolvedImageNode.
const
Properties
- data → Uint8List
-
The image data encoded as a PNG.
final
- format → ImageFormat
-
The format of data.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- rect → Rect
-
The region to draw the image to.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- transform → AffineMatrix?
-
An optional transform.
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