EtchPathRelativeCubicTo class
Adds a cubic bezier curve from the current point to the end point using the two control points 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
-
- Object
- EtchPathElement
- EtchPathRelativeCubicTo
Constructors
- EtchPathRelativeCubicTo({required Offset controlPoint, required Offset controlPoint2, required Offset endPoint})
- EtchPathRelativeCubicTo.alignment({required Offset controlPointAlignment, required Offset controlPoint2Alignment, 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