PolylineHitTester class
Constructors
-
PolylineHitTester(MapCamera cam, {double hitTolerance = 24.0, SpatialIndex<
InteractivePolyline< ? index})Object> >
Properties
- cam → MapCamera
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hitTolerance → double
-
final
-
index
→ SpatialIndex<
InteractivePolyline< ?Object> > -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
hit(
List< InteractivePolyline< polylines, Offset p, {Key? preferKey}) → InteractivePolyline<Object> >Object> ? -
Returns the index of the hit polyline, or null.
preferKey(active/hover) is tested first to feel "sticky" when overlapping. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited