PolygonManeuverStyle class final
The style that is used to display polygon maneuvers and trajectories on the map.
- Available extensions
Constructors
- PolygonManeuverStyle(Color trajectoryColor, Color polygonColor, PolygonManeuverRenderMode renderMode, {required double trajectoryWidth, required double polygonAlpha, required double fadeDistance, required double fadeAlpha, required bool enabled})
-
const
Properties
- enabled → bool
-
Enables/disables polygon maneuvers.
final
- fadeAlpha → double
-
Must be in range [0, 1], where 0 means invisibility.
final
- fadeDistance → double
-
In meters.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- polygonAlpha → double
-
Polygon maneuver alpha.
final
- polygonColor → Color
-
Color of polygon maneuver. Used only ColoredTrajectory render mode.
final
- renderMode → PolygonManeuverRenderMode
-
Polygon maneuver render mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trajectoryColor → Color
-
Color of trajectory line on polygon maneuvers. Used only
ColoredPolygon render mode.
final
- trajectoryWidth → double
-
Width of trajectory line on polygon maneuvers. Used only
ColoredPolygon render mode.
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 PolygonManeuverStyle other) → bool -
The equality operator.
override