ShapePainterPolyline class

Shape painter for rendering polylines on the map.

This painter is responsible for drawing lines, such as roads and rivers. It supports solid colors, dashed lines, and bitmap patterns for the stroke.

Properties

hashCode int
The hash code for this object.
no setterinherited
renderinstruction → RenderinstructionPolyline
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stroke UiPaint?
The paint used for the polyline stroke. Null if the stroke is transparent.
latefinal

Methods

calculatePath(List<List<Mappoint>> coordinatesAbsolute, Mappoint reference, double dy) UiPath
Calculates a UiPath from a list of absolute geo-coordinates.
inherited
dispose() → void
ShapePainterLineSymbol and ShapePainterSymbol holds SymbolImage instances which must be disposed after use.
inherited
init() Future<void>
Initializes the shape painter by loading the bitmap pattern if specified.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
renderNode(RenderInfo<Renderinstruction> renderInfo, RenderContext renderContext, NodeProperties nodeProperties) → void
Polylines are not rendered for nodes.
renderWay(RenderInfo<Renderinstruction> renderInfo, RenderContext renderContext, WayProperties wayProperties) → void
Renders a polyline for a way.
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

create(RenderinstructionPolyline renderinstruction) Future<ShapePainterPolyline>
Creates a new polyline shape painter with asynchronous initialization.