Uses of Class
org.openstreetmap.josm.gui.mappaint.styleelement.TextLabel
-
Packages that use TextLabel 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.styleelement 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 TextLabel Modifier and Type Method Description private voidStyledMapRenderer. displayText(java.lang.Runnable fill, java.util.function.Supplier<java.awt.Shape> outline, boolean disabled, TextLabel text)Displays text at specified position including its halo, if applicable.private voidStyledMapRenderer. displayText(IPrimitive osm, TextLabel text, java.lang.String name, java.awt.geom.AffineTransform at)private voidStyledMapRenderer. displayText(IPrimitive osm, TextLabel text, java.lang.String name, java.awt.geom.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 TextLabel Modifier and Type Field Description TextLabelBoxTextElement. textThe text this element should display.private TextLabelTextElement. textMethods in org.openstreetmap.josm.gui.mappaint.styleelement that return TextLabel Modifier and Type Method Description static TextLabelTextLabel. create(Environment env, java.awt.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 TextLabel Constructor Description BoxTextElement(Cascade c, TextLabel text, BoxTextElement.BoxProvider boxProvider, int offsetX, int offsetY, BoxTextElement.HorizontalTextAlignment hAlign, BoxTextElement.VerticalTextAlignment vAlign)Create a newBoxTextElementTextElement(Cascade c, TextLabel text, PositionForAreaStrategy labelPositionStrategy)Create a new way/area text element definitionTextLabel(TextLabel other)Copy constructor
-