Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint.styleelement |
Modifier and Type | Class and Description |
---|---|
static class |
LabelCompositionStrategy.DeriveLabelFromNameTagsCompositionStrategy |
static class |
LabelCompositionStrategy.StaticLabelCompositionStrategy |
static class |
LabelCompositionStrategy.TagLookupCompositionStrategy |
Modifier and Type | Field and Description |
---|---|
static LabelCompositionStrategy |
TextLabel.AUTO_LABEL_COMPOSITION_STRATEGY |
LabelCompositionStrategy |
TextLabel.labelCompositionStrategy
the strategy for building the actual label value for a given a
OsmPrimitive . |
Modifier and Type | Method and Description |
---|---|
protected static LabelCompositionStrategy |
TextLabel.buildLabelCompositionStrategy(Cascade c,
boolean defaultAnnotate)
Derives a suitable label composition strategy from the style properties in
c . |
Constructor and Description |
---|
TextLabel(LabelCompositionStrategy strategy,
Font font,
int xOffset,
int yOffset,
Color color,
Float haloRadius,
Color haloColor)
Creates a new text element
|