EtchPathRelativeConicTo class
Add a conic bezier curve from the current point to the offset given 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
- EtchPathRelativeConicTo
Constructors
- EtchPathRelativeConicTo({required Offset controlPoint, required Offset endPoint, double weight = 1})
- EtchPathRelativeConicTo.alignment({required Offset controlPointAlignment, required Offset endPointAlignment, double weight = 1})
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