ShapePainterLinesymbol class
Shape painter for rendering symbols along a line.
This painter is responsible for drawing a symbol at each node of a way. The symbol can be rotated to align with the direction of the line.
Properties
- fill ↔ UiPaint
-
latefinal
- hashCode → int
-
The hash code for this object.
no setterinherited
- renderinstruction → RenderinstructionLinesymbol
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- symbolImage ↔ SymbolImage?
-
getter/setter pair
Methods
-
calculatePath(
List< List< coordinatesAbsolute, Mappoint reference, double dy) → UiPathMappoint> > -
Calculates a
UiPathfrom a list of absolute geo-coordinates.inherited -
dispose(
) → void - Disposes the symbolImage.
-
init(
) → Future< void> - Initializes the shape painter by loading the symbol from the cache.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
renderNode(
RenderInfo< Renderinstruction> renderInfo, RenderContext renderContext, NodeProperties nodeProperties) → void - Renders a symbol for a node.
-
renderWay(
RenderInfo< Renderinstruction> renderInfo, RenderContext renderContext, WayProperties wayProperties) → void - Line symbols are rendered per node, not for the entire way at once.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
create(
RenderinstructionLinesymbol renderinstruction) → Future< ShapePainterLinesymbol> - Creates a new linesymbol shape painter with asynchronous initialization.