ResolvedPathGeometry class final

Immutable arc-length geometry over the authoritative resolved route. Consecutive duplicate samples are removed without changing its contour.

Constructors

ResolvedPathGeometry(Iterable<DiagramPoint> source)
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
length → double
no setter
points → List<DiagramPoint>
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
project(DiagramPoint point) → ResolvedPathSample
Closest arc-length anchor for direct label placement. Ties resolve toward the start, giving crossings and retraced segments a deterministic owner.
sample(double fraction) → ResolvedPathSample
Fraction means distance along the route, independent of sampling density.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited