Uses of Class
org.openstreetmap.josm.gui.mappaint.styleelement.TextLabel
Packages that use TextLabel
Package
Description
Provides the classes for painting (rendering) OSM primitives on the map.
Style elements defining how a map paint style is rendered.
-
Uses of TextLabel in org.openstreetmap.josm.data.osm.visitor.paint
Methods in org.openstreetmap.josm.data.osm.visitor.paint with parameters of type TextLabelModifier and TypeMethodDescriptionprivate voidStyledMapRenderer.displayText(Runnable fill, Supplier<Shape> outline, boolean disabled, TextLabel text) Displays text at specified position including its halo, if applicable.private voidStyledMapRenderer.displayText(IPrimitive osm, TextLabel text, String name, AffineTransform at) private voidStyledMapRenderer.displayText(IPrimitive osm, TextLabel text, String name, Rectangle2D nb, MapViewPositionAndRotation center) voidStyledMapRenderer.drawText(IPrimitive osm, TextLabel text, PositionForAreaStrategy labelPositionStrategy) Draws a text for the given primitive -
Uses of TextLabel in org.openstreetmap.josm.gui.mappaint.styleelement
Fields in org.openstreetmap.josm.gui.mappaint.styleelement declared as TextLabelModifier and TypeFieldDescriptionBoxTextElement.textThe text this element should display.private final TextLabelTextElement.textMethods in org.openstreetmap.josm.gui.mappaint.styleelement that return TextLabelModifier and TypeMethodDescriptionstatic TextLabelTextLabel.create(Environment env, Color defaultTextColor, boolean defaultAnnotate) Builds a text element from style properties incand the default text colordefaultTextColorConstructors in org.openstreetmap.josm.gui.mappaint.styleelement with parameters of type TextLabelModifierConstructorDescriptionBoxTextElement(Cascade c, TextLabel text, BoxTextElement.BoxProvider boxProvider, int offsetX, int offsetY, BoxTextElement.HorizontalTextAlignment hAlign, BoxTextElement.VerticalTextAlignment vAlign) Create a newBoxTextElementprotectedTextElement(Cascade c, TextLabel text, PositionForAreaStrategy labelPositionStrategy) Create a new way/area text element definitionCopy constructor