HorizontalLineElement class
An horizontal line element
- Inheritance
-
- Object
- PathElement
- HorizontalLineElement
Constructors
- HorizontalLineElement({required Offset startPoint, required bool relative, required double targetX})
- startPoint (Offset) REQUIRED relative (bool) REQUIRED : Is it a relative move ? targetX (double) REQUIRED
Properties
- end → Offset
-
gets the end point of the path element
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
- targetX ↔ double
-
target x
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