ShapePainterIcon class

Shape painter for rendering icons from a font on the map.

This painter is responsible for drawing icons using a specific character from a font file. It handles the color, size, and rotation of the icon.

Properties

fill UiPaint
latefinal
hashCode int
The hash code for this object.
no setterinherited
renderinstruction → RenderinstructionIcon
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textPainter TextPainter?
getter/setter pair

Methods

calculatePath(List<List<Mappoint>> coordinatesAbsolute, Mappoint reference, double dy) UiPath
Calculates a UiPath from a list of absolute geo-coordinates.
inherited
dispose() → void
Disposes the TextPainter.
init() → void
Initializes the TextPainter for rendering the icon.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderNode(RenderInfo<Renderinstruction> renderInfo, RenderContext renderContext, NodeProperties nodeProperties) → void
Renders an icon for a node (e.g., a POI).
renderWay(RenderInfo<Renderinstruction> renderInfo, RenderContext renderContext, WayProperties wayProperties) → void
Renders an icon for a way.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create(RenderinstructionIcon renderinstruction) Future<ShapePainterIcon>
Creates a new icon shape painter with asynchronous initialization.

Constants

debug → const bool