AbstractGeometryImageRenderSettings class Core
Rendering settings for turn instruction images in navigation instructions.
Configures the visual appearance of AbstractGeometry images representing turn arrows and maneuvers in navigation. Allows customization of inner and outer colors for both active (recommended) and inactive (alternative) turns. Active colors highlight the recommended turn direction, while inactive colors show non-recommended alternatives. All color properties default to optimal values if not specified.
See also:
- TurnDetails - Contains abstract geometry images for turn instructions
- NavigationInstruction - Provides turn details with abstract geometry
- RouteInstruction - Route instructions that may include turn images
- AbstractGeometryImg - Image representation of abstract geometry turn arrows
Constructors
- AbstractGeometryImageRenderSettings({Color activeInnerColor = const Color.fromARGB(255, 255, 255, 255), Color activeOuterColor = const Color.fromARGB(255, 0, 0, 0), Color inactiveInnerColor = const Color.fromARGB(255, 128, 128, 128), Color inactiveOuterColor = const Color.fromARGB(255, 128, 128, 128)})
-
Creates turn arrow rendering settings with customizable colors.
const
-
AbstractGeometryImageRenderSettings.fromJson(Map<
String, dynamic> json) -
Deserializes a JSON-compatible map to create an instance.
factory
Properties
- activeInnerColor → Color
-
Inner fill color for recommended turn arrows.
final
- activeOuterColor → Color
-
Outer border color for recommended turn arrows.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- inactiveInnerColor → Color
-
Inner fill color for alternative turn arrows.
final
- inactiveOuterColor → Color
-
Outer border color for alternative turn arrows.
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
-
toJson(
) → Map< String, dynamic> - Serializes this instance to a JSON-compatible map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
covariant AbstractGeometryImageRenderSettings other) → bool -
The equality operator.
override