MoveElement class
Path element of type MoveTo
- Inheritance
-
- Object
- PathElement
- MoveElement
Constructors
- MoveElement({required Offset startPoint, required Offset moveParams, required bool relative})
- startPoint (Offset) REQUIRED moveParams (Offset) REQUIRED : Move x and y if not relative, otherwise move dx and dy. relative (bool) REQUIRED : Is it a relative move ?
Properties
- end → Offset
-
gets the end point of the path element
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- moveParams ↔ Offset
-
Move x and y if not relative, otherwise move dx and dy.
getter/setter pair
- relative ↔ bool
-
Is it a relative move ?
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startPoint ↔ Offset
-
Current path starting point
getter/setter pair
Methods
-
addToPath(
Path path) → void -
add the given path to the PathElement
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited