Package | Description |
---|---|
org.openstreetmap.josm.data.osm.visitor.paint |
Provides the classes for painting (rendering) OSM primitives on the map.
|
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.styleelement |
Style elements defining how a map paint style is rendered.
|
Modifier and Type | Field and Description |
---|---|
private StyleElement |
StyledMapRenderer.StyleRecord.style |
Modifier and Type | Method and Description |
---|---|
StyleElement |
StyledMapRenderer.StyleRecord.getStyle()
Get the style for this style element.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
ComputeStyleListWorker.drawAreaElement(int flags,
StyleElement s) |
Constructor and Description |
---|
StyleRecord(StyleElement style,
OsmPrimitive osm,
int flags) |
Modifier and Type | Field and Description |
---|---|
private java.util.List<StyleElement> |
StyleElementList.lst |
Modifier and Type | Method and Description |
---|---|
java.util.Iterator<StyleElement> |
StyleElementList.iterator() |
Constructor and Description |
---|
StyleElementList(StyleElement... init)
Create a new List of style elements
|
StyleElementList(StyleElementList sl,
StyleElement s)
Create a new List of style elements
|
Constructor and Description |
---|
StyleElementList(java.util.Collection<StyleElement> sl)
Create a new List of style elements
|
Modifier and Type | Class and Description |
---|---|
class |
AreaElement
This is the style that defines how an area is filled.
|
class |
AreaIconElement
This class defines how an icon is rendered onto the area.
|
class |
BoxTextElement
Text style attached to a style with a bounding box, like an icon or a symbol.
|
class |
LineElement
This is the style definition for a simple line.
|
class |
NodeElement
applies for Nodes and turn restriction relations
|
class |
RepeatImageElement
Style element that displays a repeated image pattern along a way.
|
class |
TextElement
The text that is drawn for a way/area.
|