A builder of a path whose source is a SVG path
element. A
PathParser calls methods on an implementor of PathBuilder as
it parses the components of an SVG path.
- Implementers
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
arcToPoint(
PointT arcEnd, {required RadiusT radius, required double rotation, required bool largeArc, required bool clockwise}) → void -
Add an arc.
rotation
in radians, as is (sorta offhandedly) documented for Flutter's Path. -
close(
) → void - Add a close to the path
-
cubicTo(
PointT c1, PointT c2, PointT p, bool shorthand) → void - Add a cubicTo to the path
-
end(
) → void - Finish the path.
-
lineTo(
PointT p) → void - Add a lineTo to the path
-
moveTo(
PointT p) → void - Add a moveTo to the path
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
quadraticBezierTo(
PointT control, PointT p, bool shorthand) → void - Add a quadraticBezierTo to the path
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited