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 void
StyledMapRenderer. displayText(Runnable fill, Supplier<Shape> outline, boolean disabled, TextLabel text)
Displays text at specified position including its halo, if applicable.private void
StyledMapRenderer. displayText(IPrimitive osm, TextLabel text, String name, AffineTransform at)
private void
StyledMapRenderer. displayText(IPrimitive osm, TextLabel text, String name, Rectangle2D nb, MapViewPositionAndRotation center)
void
StyledMapRenderer. 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 TextLabel
BoxTextElement. text
The text this element should display.private TextLabel
TextElement. text
Methods in org.openstreetmap.josm.gui.mappaint.styleelement that return TextLabel Modifier and Type Method Description static TextLabel
TextLabel. create(Environment env, Color defaultTextColor, boolean defaultAnnotate)
Builds a text element from style properties inc
and the default text colordefaultTextColor
Constructors 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 newBoxTextElement
TextElement(Cascade c, TextLabel text, PositionForAreaStrategy labelPositionStrategy)
Create a new way/area text element definitionTextLabel(TextLabel other)
Copy constructor
-