HighlightRenderSettings class Maps & 3D Scenes
Render settings specialized for landmark highlights.
Provides defaults tailored for highlight rendering (colors, sizes and options). Use this class when adding or configuring highlight-style renderings on the map (for example, landmark emphasis bubbles).
Also see:
- GemMapController.activateHighlight — Method to activate landmark highlights.
- Inheritance
-
- Object
- RenderSettings<
HighlightOptions> - HighlightRenderSettings
Constructors
-
HighlightRenderSettings({Set<
HighlightOptions> options = const <HighlightOptions>{HighlightOptions.showLandmark}, Color innerColor = const Color.fromARGB(255, 255, 98, 0), Color outerColor = const Color.fromARGB(255, 255, 98, 0), double innerSz = 1.5, double outerSz = RenderSettings.defaultOuterSize, double imgSz = RenderSettings.defaultImageSize, double textSz = RenderSettings.defaultTextSize, Color textColor = RenderSettings.defaultTextColor, LineType lineType = RenderSettings.defaultLineType, ImagePosition imagePosition = RenderSettings.defaultImagePosition}) - Creates highlight-specific render settings with sensible defaults.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- imagePosition ↔ ImagePosition
-
Image position
getter/setter pairinherited
- imgSz ↔ double
-
The size of the image in millimeters.
getter/setter pairinherited
- innerColor ↔ Color
-
The color for the inner area.
getter/setter pairinherited
- innerSz ↔ double
-
The size for the inner area in millimeters.
getter/setter pairinherited
- lineType ↔ LineType
-
The line type.
getter/setter pairinherited
-
options
↔ Set<
HighlightOptions> -
The set that defines what elements to show.
getter/setter pairinherited
- outerColor ↔ Color
-
The color for the outer area.
getter/setter pairinherited
- outerSz ↔ double
-
The size for the outer area in millimeters.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- textColor ↔ Color
-
The color for the text.
getter/setter pairinherited
- textSz ↔ double
-
The size for the text in millimeters.
getter/setter pairinherited
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.
-
toJsonWithOptions(
dynamic optionsSerializer(Set options)) → Map< String, dynamic> -
Serializes this instance to a JSON-compatible map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited