EtchPathRelativeQuadraticBezierTo class

Draw a quadratic bezier the end point using the control point Relative paths are drawn with respect to the current point, not the origin The alignment constructor effectively uses the current point as origin and calculates alignment using the bounding size

Inheritance

Constructors

EtchPathRelativeQuadraticBezierTo({required Offset controlPoint, required Offset endPoint})
EtchPathRelativeQuadraticBezierTo.alignment({required Offset controlPointAlignment, required Offset endPointAlignment})

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

addToPath(Path path, Canvas canvas, Size size) → void
Modify the path to your requirement here
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
shouldRepaint(covariant EtchPathElement oldElement) bool
Define in what conditions the path should be repainted
override
toString() String
A string representation of this object.
inherited

Operators

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