PolygonTextMarker<T> class

Draws Text along a polygon. Does NOT draw the polygon. Use PolygonMarker in conjunction with this marker.

Inheritance

Constructors

PolygonTextMarker({required String caption, dynamic display = Display.ALWAYS, int minZoomLevel = 0, int maxZoomLevel = 65535, T? item, double fontSize = 10, int? fillColor, double strokeWidth = 2.0, int strokeColor = 0xff000000, double maxTextWidth = 200, required DisplayModel displayModel})

Properties

caption String
final
display → Display
finalinherited
hashCode int
The hash code for this object.
no setterinherited
item ↔ T?
the item this marker represents.
getter/setter pairinherited
markerCaption MarkerCaption?
no setterinherited
maxTextWidth double
The maximum width of a text as defined in the displaymodel
final
maxZoomLevel int
getter/setter pairinherited
minZoomLevel int
getter/setter pairinherited
path List<ILatLong>
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addLatLong(ILatLong latLong) → void
clearPaintMixin() → void
inherited
dispose() → void
override
disposePaintMixin() → void
inherited
disposeTextMixin() → void
inherited
getDy(int zoomLevel) double
inherited
getFillPaint(int zoomLevel) MapPaint
inherited
getFontSize() double
inherited
getStrokePaint(int zoomLevel) MapPaint
inherited
getStrokeWidth() double
inherited
getTextPaint(int zoomLevel) → MapTextPaint
inherited
initPaintMixin(int strokeMinZoomLevel) → void
inherited
initTextMixin(int strokeMinZoomLevel) → void
inherited
isFillTransparent() bool
inherited
isStrokeTransparent() bool
inherited
isTapped(TapEvent tapEvent) bool
returns true if the position specified by tapEvent is in the area of this marker. Note that tapEvent represents the position at the time the tap has been executed.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
prepareScalePaintMixin(int zoomLevel) → void
inherited
prepareScaleTextMixin(int zoomLevel) → void
inherited
render(MarkerCallback markerCallback) → void
Renders this object. Called by markerPointer -> markerRenderer
inherited
renderBitmap(MarkerCallback markerCallback) → void
renders the bitmap portion of this marker. This method is called by render() which also call the render method for the caption
override
setDy(double dy) → void
inherited
setFillBitmapShader(Bitmap bitmap) → void
inherited
setFillColor(Color color) → void
inherited
setFillColorFromNumber(int color) → void
inherited
setFontFamily(String fontFamily) → void
inherited
setFontSize(double value) → void
inherited
setFontStyle(MapFontStyle fontStyle) → void
inherited
setMarkerCaption(MarkerCaption? markerCaption) → void
inherited
setStrokeBitmapShader(Bitmap bitmap) → void
inherited
setStrokeCap(Cap cap) → void
inherited
setStrokeColor(Color color) → void
inherited
setStrokeColorFromNumber(int color) → void
inherited
setStrokeDashArray(List<double> dashArray) → void
inherited
setStrokeJoin(Join join) → void
inherited
setStrokeWidth(double strokeWidth) → void
inherited
shouldPaint(BoundingBox boundary, int zoomLevel) bool
returns true if this marker is within the visible boundary and therefore should be painted. Since the initResources() is called only if shouldPoint() returns true, do not test for available resources here.
override
toString() String
A string representation of this object.
inherited

Operators

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