DrawPath class

Constructors

DrawPath({List<OperationStep>? steps, PathFillType? type, Path? path})
DrawPath.fromJson(Map<String, dynamic> data, {OperationStep stepFactory(String type, Map<String, dynamic> jsonStepMap, Path genPath)?})
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
path Path
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
steps List<OperationStep>
final

Methods

arcTo(Rect rect, double startAngle, double sweepAngle, bool forceMoveTo) → void
arcToPoint(Offset arcEnd, {Radius radius = Radius.zero, double rotation = 0.0, bool largeArc = false, bool clockwise = true}) → void
close() → void
conicTo(double x1, double y1, double x2, double y2, double w) → void
cubicTo(double x1, double y1, double x2, double y2, double x3, double y3) → void
lineTo(double x, double y) → void
moveTo(double x, double y) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
quadraticBezierTo(double x1, double y1, double x2, double y2) → void
relativeArcToPoint(Offset arcEndDelta, {Radius radius = Radius.zero, double rotation = 0.0, bool largeArc = false, bool clockwise = true}) → void
relativeConicTo(double x1, double y1, double x2, double y2, double w) → void
relativeCubicTo(double x1, double y1, double x2, double y2, double x3, double y3) → void
relativeLineTo(double dx, double dy) → void
relativeMoveTo(double dx, double dy) → void
relativeQuadraticBezierTo(double x1, double y1, double x2, double y2) → void
reset() → void
shift(Offset offset) Path
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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