Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint |
Drawing system allowing to display and render OSM map data in a user-friendly and customizable way, through map styles.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time. |
org.openstreetmap.josm.gui.mappaint.mapcss |
Drawing system based on MapCSS map styles.
|
org.openstreetmap.josm.gui.mappaint.styleelement |
Modifier and Type | Field and Description |
---|---|
static Cascade |
Cascade.EMPTY_CASCADE |
Modifier and Type | Field and Description |
---|---|
private Map<String,Cascade> |
MultiCascade.layers |
Modifier and Type | Method and Description |
---|---|
Cascade |
Cascade.clone() |
Cascade |
Environment.getCascade(String layer) |
Cascade |
MultiCascade.getCascade(String layer)
Read-only version of
MultiCascade.getOrCreateCascade(java.lang.String) . |
Cascade |
MultiCascade.getOrCreateCascade(String layer)
Return the cascade with the given name.
|
Modifier and Type | Method and Description |
---|---|
Collection<Map.Entry<String,Cascade>> |
MultiCascade.getLayers() |
Modifier and Type | Method and Description |
---|---|
static StyleSetting.BooleanStyleSetting |
StyleSetting.BooleanStyleSetting.create(Cascade c,
StyleSource parentStyle,
String key) |
Modifier and Type | Method and Description |
---|---|
private Cascade |
MapCSSStyleSource.constructSpecial(String type) |
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 . |
protected static Font |
StyleElement.getFont(Cascade c,
String s) |
protected static Float |
StyleElement.getWidth(Cascade c,
String key,
Float relativeTo)
Get a property value of type Width
|
Constructor and Description |
---|
AreaElement(Cascade c,
Color color,
MapImage fillImage,
Float extent,
Float extentThreshold,
TextLabel text) |
BoxTextElement(Cascade c,
TextLabel text,
BoxTextElement.BoxProvider boxProvider,
Rectangle box,
BoxTextElement.HorizontalTextAlignment hAlign,
BoxTextElement.VerticalTextAlignment vAlign) |
LineElement(Cascade c,
float default_major_z_index,
BasicStroke line,
Color color,
BasicStroke dashesLine,
Color dashesBackground,
float offset,
float realWidth) |
LineTextElement(Cascade c,
TextLabel text) |
NodeElement(Cascade c,
MapImage mapImage,
NodeElement.Symbol symbol,
float default_major_z_index,
RotationAngle rotationAngle) |
RepeatImageElement(Cascade c,
MapImage pattern,
float offset,
float spacing,
float phase,
RepeatImageElement.LineImageAlignment align) |
StyleElement(Cascade c,
float default_major_z_index) |