Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint.styleelement |
Style elements defining how a map paint style is rendered.
|
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,
java.awt.Font font,
int xOffset,
int yOffset,
java.awt.Color color,
java.lang.Float haloRadius,
java.awt.Color haloColor)
Creates a new text element
|