EtchPathAddArc class
Adds an arc to the current path
- Inheritance
-
- Object
- EtchPathElement
- EtchPathAddArc
Constructors
- EtchPathAddArc({required Rect rect, required double startAngle, required double sweepAngle})
- Constructor for creating the arc which uses the Rect given by the user
- EtchPathAddArc.alignment({required Offset topLeftAlignment, required Offset bottomRightAlignment, required double startAngle, required double sweepAngle})
- Constructor for creating the arc which uses alignments to create the Rect Alignments here are with respect to the center (Center is (0,0))
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