Package org.openstreetmap.josm.gui.mappaint.styleelement
Style elements defining how a map paint style is rendered.
-
Interface Summary Interface Description BoxTextElement.BoxProvider Something that provides us with aBoxTextElement.BoxProviderResult
LabelCompositionStrategy Provides an abstract parent class and three concrete sub classes for various strategies on how to compose the text label which can be rendered close to a node or within an area in an OSM map. -
Class Summary Class Description AreaElement This is the style that defines how an area is filled.AreaIconElement This class defines how an icon is rendered onto the area.BoxTextElement Text style attached to a style with a bounding box, like an icon or a symbol.BoxTextElement.BoxProviderResult A box rectangle with a flag if it is temporary.BoxTextElement.SimpleBoxProvider ABoxTextElement.BoxProvider
that always returns the same non-temporary rectangleDefaultStyles Default element styles.LabelCompositionStrategy.DeriveLabelFromNameTagsCompositionStrategy Strategy where the label is given by the value of one of the configured "name tags".LabelCompositionStrategy.StaticLabelCompositionStrategy Strategy where the label is given by a static text specified in the MapCSS style file.LabelCompositionStrategy.TagLookupCompositionStrategy Strategy where the label is given by the content of a tag whose name specified in the MapCSS style file.LineElement This is the style definition for a simple line.MapImage An image that will be displayed on the map.NodeElement applies for Nodes and turn restriction relationsRepeatImageElement Style element that displays a repeated image pattern along a way.StyleElement Class that defines how objects (OsmPrimitive
) should be drawn on the map.StyleElement.FontDescriptor Symbol The definition of a symbol that should be rendered at the node position.TextElement The text that is drawn for a way/area.TextLabel Represents the rendering style for a textual label placed somewhere on the map. -
Enum Summary Enum Description BoxTextElement.HorizontalTextAlignment MapCSS text-anchor-horizontalBoxTextElement.VerticalTextAlignment MapCSS text-anchor-verticalLineElement.LineType The type of this lineRepeatImageElement.LineImageAlignment The side on which the image should be aligned to the line.