renderinstruction library

Rendering instructions for drawing map elements and features.

This library provides concrete implementations of rendering instructions that define how different map elements should be drawn. Each instruction type handles specific rendering operations like areas, lines, symbols, and text.

Available rendering instructions:

  • Base: RenderInstruction - Abstract base class
  • Areas: RenderInstructionArea - Filled polygons and shapes
  • Lines: RenderInstructionPolyline - Stroked paths and boundaries
  • Symbols: RenderInstructionSymbol, RenderInstructionIcon - Point symbols
  • Text: RenderInstructionCaption, RenderInstructionPolylineText - Labels
  • Shapes: RenderInstructionCircle, RenderInstructionRect - Geometric shapes
  • Special: RenderInstructionHillshading - Terrain visualization
  • Decorations: RenderInstructionLinesymbol - Line decorations

Classes

Renderinstruction
Abstract base class for all rendering instructions in the theme system.
RenderinstructionArea
Rendering instruction for filled polygon areas on the map.
RenderinstructionCaption
Rendering instruction for text labels and captions on the map.
RenderinstructionCircle
Rendering instruction for circular shapes on the map.
RenderinstructionHillshading
Represents hillshading on a painter algorithm layer/level in the parsed rendertheme (but without a rule, we don't need to increase waymatching complexity here)
RenderinstructionIcon
Rendering instruction for Flutter font-based icons on the map.
RenderinstructionLinesymbol
Represents an icon along a polyline on the map.
RenderinstructionNode
A RenderInstruction is a basic graphical primitive to draw a map. It reads the instructions from an xml file. It can be seen like a CSS-file for html.
RenderinstructionPolyline
Rendering instruction for polylines (open paths) on the map.
RenderinstructionPolylineText
Represents a text along a polyline on the map.
RenderinstructionRect
Represents an icon on the map. The rendertheme.xml has the possiblity to define a symbol by id and use that symbol later by referring to this id. The RenderinstructionRect class holds a symbol (=bitmap) and refers it by it's id. The class can be used by several other Renderinstruction implementations.
RenderinstructionSymbol
Rendering instruction for bitmap symbols and icons on the map.
RenderinstructionWay
A RenderInstruction is a basic graphical primitive to draw a map. It reads the instructions from an xml file. It can be seen like a CSS-file for html.