CommandPathSource class final

Normalized, absolute geometry in source coordinates, with no paint data.

Supports multiple contours and open contours. Each contour starts with moveTo; close ends it, so subsequent drawing requires another moveTo. Empty geometry is valid. Curves are polynomial quadratics or cubics; importers must convert arcs before constructing this source.

Inheritance

Constructors

CommandPathSource(List<PathCmd> commands)
CommandPathSource.fromJson(Map<String, Object?> json)
factory

Properties

commands → List<PathCmd>
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
override
toString() → String
A string representation of this object.
inherited

Operators

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