RenderSettings<T> class Maps & 3D Scenes

Base class for render settings used by map view elements.

A generic, typed container that centralizes appearance choices such as visibility options, colors and sizing for inner/outer areas, image and text sizing, line style, and image placement. Subclass this for specialized rendering settings (for markers, routes, highlights, etc.).

See also:

Implementers

Constructors

RenderSettings({Set<T> options = const <Never>{}, Color innerColor = defaultInnerColor, Color outerColor = defaultOuterColor, double innerSz = defaultInnerSize, double outerSz = defaultOuterSize, double imgSz = defaultImageSize, double textSz = defaultTextSize, Color textColor = defaultTextColor, LineType lineType = defaultLineType, ImagePosition imagePosition = defaultImagePosition})
Creates a new RenderSettings instance.

Properties

hashCode → int
The hash code for this object.
no setterinherited
imagePosition ↔ ImagePosition
Image position
getter/setter pair
imgSz ↔ double
The size of the image in millimeters.
getter/setter pair
innerColor ↔ Color
The color for the inner area.
getter/setter pair
innerSz ↔ double
The size for the inner area in millimeters.
getter/setter pair
lineType ↔ LineType
The line type.
getter/setter pair
options ↔ Set<T>
The set that defines what elements to show.
getter/setter pair
outerColor ↔ Color
The color for the outer area.
getter/setter pair
outerSz ↔ double
The size for the outer area in millimeters.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
textColor ↔ Color
The color for the text.
getter/setter pair
textSz ↔ double
The size for the text in millimeters.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJsonWithOptions(dynamic optionsSerializer(Set options)) → Map<String, dynamic>
Serializes this instance to a JSON-compatible map.
toString() → String
A string representation of this object.
inherited

Operators

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

Constants

defaultImagePosition → const ImagePosition
Default value for imagePosition
defaultImageSize → const double
Default value for imgSz
defaultInnerColor → const Color
Default value for innerColor
defaultInnerSize → const double
Default value for innerSz
defaultLineType → const LineType
Default value for lineType
defaultOuterColor → const Color
Default value for outerColor
defaultOuterSize → const double
Default value for outerSz
defaultTextColor → const Color
Default value for textColor
defaultTextSize → const double
Default value for textSz