LineElement class

Path element of type Line

Inheritance

Constructors

LineElement({required Offset startPoint, required Offset lineParams, required bool relative})
startPoint (Offset) REQUIRED lineParams (Offset) REQUIRED : Line x and y if not relative, otherwise line dx and dy. relative (bool) REQUIRED :Is it a relative line ?

Properties

end → Offset
gets the end point of the path element
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
lineParams ↔ Offset
Line 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