RenderinstructionCaption constructor
RenderinstructionCaption(
- int level
Creates a new caption rendering instruction for the specified drawing level.
Initializes default text properties including font size, stroke settings, and gap scaling based on global font scale factor.
level The drawing level (layer) for this caption instruction
Implementation
RenderinstructionCaption(int level) {
this.level = level;
gap = DEFAULT_GAP * MapsforgeSettingsMgr().getFontScaleFactor();
setStrokeMinZoomLevel(MapsforgeSettingsMgr().strokeMinZoomlevelText);
setFontSize(10);
}