VectorInstructions class
An immutable collection of vector instructions, with width and height specifying the viewport coordinates.
- Annotations
-
- @immutable
Constructors
-
VectorInstructions({required double width, required double height, required List<
Paint> paints, List<Path> paths = const <Path>[], List<IndexedVertices> vertices = const <IndexedVertices>[], List<TextConfig> text = const <TextConfig>[], List<ImageData> images = const <ImageData>[], List<DrawImageData> drawImages = const <DrawImageData>[], List<PatternData> patternData = const <PatternData>[], List<TextPosition> textPositions = const <TextPosition>[], required List<DrawCommand> commands}) -
Creates a new set of VectorInstructions.
const
Properties
-
commands
→ List<
DrawCommand> -
The painting order list of drawing commands.
final
-
drawImages
→ List<
DrawImageData> -
The
DrawImageData
objects, if any, used in commands.final - hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
The extent of the viewport on the y axis.
final
-
images
→ List<
ImageData> -
The
ImageData
objects, if any, used in commands.final -
paints
→ List<
Paint> -
The
Paint
objects used in commands.final -
paths
→ List<
Path> -
The
Path
objects, if any, used in commands.final -
patternData
→ List<
PatternData> -
The pattern data objects, if any used in commands.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
text
→ List<
TextConfig> -
The
TextConfig
objects, if any, used in commands.final -
textPositions
→ List<
TextPosition> -
A list of text position advances, if any, used in commands.
final
-
vertices
→ List<
IndexedVertices> -
The
IndexedVertices
objects, if any, used in commands.final - width → double
-
The extent of the viewport on the x axis.
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.
override