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 |
---|---|
private java.util.Map<java.lang.String,Cascade> |
MultiCascade.layers |
Modifier and Type | Method and Description |
---|---|
Cascade |
Cascade.clone() |
Cascade |
Environment.getCascade(java.lang.String layer) |
Cascade |
MultiCascade.getCascade(java.lang.String layer)
Read-only version of
MultiCascade.getOrCreateCascade(java.lang.String) . |
Cascade |
MultiCascade.getOrCreateCascade(java.lang.String layer)
Return the cascade with the given name.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<java.util.Map.Entry<java.lang.String,Cascade>> |
MultiCascade.getLayers() |
Modifier and Type | Method and Description |
---|---|
static StyleSetting.BooleanStyleSetting |
StyleSetting.BooleanStyleSetting.create(Cascade c,
StyleSource parentStyle,
java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
private Cascade |
MapCSSStyleSource.constructSpecial(java.lang.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 . |
private static java.lang.Float |
LineElement.computeOffset(LineElement.LineType type,
Cascade c,
Cascade cDef,
java.lang.Float width) |
private static float |
LineElement.computeRealWidth(Environment env,
LineElement.LineType type,
Cascade c) |
private static java.lang.Float |
LineElement.computeWidth(LineElement.LineType type,
Cascade c,
Cascade cDef) |
protected static java.awt.Font |
StyleElement.getFont(Cascade c,
java.lang.String s) |
protected static java.lang.Float |
StyleElement.getWidth(Cascade c,
java.lang.String key,
java.lang.Float relativeTo)
Get a property value of type Width
|
Constructor and Description |
---|
AreaElement(Cascade c,
java.awt.Color color,
MapImage fillImage,
java.lang.Float extent,
java.lang.Float extentThreshold,
TextLabel text) |
BoxTextElement(Cascade c,
TextLabel text,
BoxTextElement.BoxProvider boxProvider,
java.awt.Rectangle box,
BoxTextElement.HorizontalTextAlignment hAlign,
BoxTextElement.VerticalTextAlignment vAlign)
Create a new
BoxTextElement |
LineElement(Cascade c,
float defaultMajorZindex,
java.awt.BasicStroke line,
java.awt.Color color,
java.awt.BasicStroke dashesLine,
java.awt.Color dashesBackground,
float offset,
float realWidth,
boolean wayDirectionArrows) |
LineTextElement(Cascade c,
TextLabel text) |
NodeElement(Cascade c,
MapImage mapImage,
NodeElement.Symbol symbol,
float defaultMajorZindex,
RotationAngle rotationAngle) |
RepeatImageElement(Cascade c,
MapImage pattern,
float offset,
float spacing,
float phase,
RepeatImageElement.LineImageAlignment align) |
StyleElement(Cascade c,
float defaultMajorZindex) |