shape_painter library
Shape painting library for rendering map elements to canvas.
This library provides specialized painters for different types of map elements, converting rendering instructions into actual visual output on the canvas. Each painter handles specific geometric shapes and styling requirements.
Key exports:
- ShapePainterArea: Renders filled polygon areas
- ShapePainterCaption: Renders text labels and captions
- ShapePainterCircle: Renders circular shapes and markers
- ShapePainterIcon: Renders Flutter font-based icons
- ShapePainterLinesymbol: Renders symbols along line paths
- ShapePainterPolyline: Renders linear paths and roads
- ShapePainterPolylineText: Renders text along polyline paths
- ShapePainterRect: Renders rectangular shapes
- ShapePainterSymbol: Renders bitmap symbols and images
- PainterFactory: Factory for creating appropriate painters
Classes
- PainterFactory
- Factory class for creating appropriate shape painters for rendering instructions.
- ShapePainterArea
- Shape painter for rendering filled polygon areas on the map canvas.
- ShapePainterCaption
- Shape painter for rendering text captions on the map.
- ShapePainterCircle
- Shape painter for rendering circles on the map.
- ShapePainterIcon
- Shape painter for rendering icons from a font on the map.
- ShapePainterLinesymbol
- Shape painter for rendering symbols along a line.
- ShapePainterPolyline
- Shape painter for rendering polylines on the map.
- ShapePainterPolylineText
- Shape painter for rendering text along a polyline.
- ShapePainterRect
- Shape painter for rendering rectangles on the map.
- ShapePainterSymbol
- Shape painter for rendering bitmap symbols on the map.