Caption class

///////////////////////////////////////////////////////////////////////////

Constructors

Caption.new({required String caption, double strokeWidth = 2.0, int strokeColor = 0xffffffff, int fillColor = 0xff000000, double fontSize = 10.0, int minZoomLevel = 0, int maxZoomLevel = 65535, Position position = Position.BELOW, double dy = 0, int strokeMinZoomLevel = DisplayModel.STROKE_MIN_ZOOMLEVEL_TEXT, required DisplayModel displayModel, required SymbolFinder symbolFinder})

Properties

base ↔ ShapeCaption
getter/setter pair
caption String
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxZoomLevel int
getter/setter pair
minZoomLevel int
getter/setter pair
position Position
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scaled ↔ ShapeCaption?
getter/setter pair
shapePaint ↔ ShapePaintCaption
getter/setter pair
symbolFinder → SymbolFinder
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderCaption({required MapCanvas flutterCanvas, required MarkerContext markerContext, required Mappoint coordinatesAbsolute}) → void
setFillColorFromNumber(int fillColor) → void
setStrokeColorFromNumber(int strokeColor) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

DEFAULT_GAP double
final