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
-
- Object
- PathSource
- CommandPathSource
Constructors
-
CommandPathSource(List<
PathCmd> commands) -
CommandPathSource.fromJson(Map<
String, Object?> json) -
factory
Properties
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