PolylinePosition class final
The position on a polyline.
- Available extensions
Constructors
- PolylinePosition({required int segmentIndex, required double segmentPosition})
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segmentIndex → int
-
Zero-based index of the polyline segment.
final
- segmentPosition → double
-
Position in the specified segment. Possible values: from 0 to 1,
where 0 is the start of the segment and 1 is the end of it.
final
Methods
-
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 ==(
covariant PolylinePosition other) → bool -
The equality operator.
override