EtchPathAddOval class
Adds an oval to the current path
- Inheritance
-
- Object
- EtchPathElement
- EtchPathAddOval
Constructors
- EtchPathAddOval({required Rect rect})
- Constructor for creating the oval which uses the Rect given by the user
- EtchPathAddOval.alignment({required Offset topLeftAlignment, required Offset bottomRightAlignment})
- Constructor for creating the oval 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