Package | Description |
---|---|
org.openstreetmap.josm.data.osm.visitor.paint | |
org.openstreetmap.josm.gui.mappaint.styleelement |
Modifier and Type | Method and Description |
---|---|
private void |
StyledMapRenderer.displayText(GlyphVector gv,
String s,
int x,
int y,
boolean disabled,
TextLabel text)
Displays text at specified position including its halo, if applicable.
|
protected void |
StyledMapRenderer.drawArea(OsmPrimitive osm,
Path2D.Double path,
Color color,
MapImage fillImage,
Float extent,
Path2D.Double pfClip,
boolean disabled,
TextLabel text)
Worker function for drawing areas.
|
void |
StyledMapRenderer.drawArea(Relation r,
Color color,
MapImage fillImage,
Float extent,
Float extentThreshold,
boolean disabled,
TextLabel text)
Draws a multipolygon area.
|
void |
StyledMapRenderer.drawArea(Way w,
Color color,
MapImage fillImage,
Float extent,
Float extentThreshold,
boolean disabled,
TextLabel text)
Draws an area defined by a way.
|
private void |
StyledMapRenderer.drawAreaText(OsmPrimitive osm,
TextLabel text,
Shape area) |
void |
StyledMapRenderer.drawTextOnPath(Way way,
TextLabel text)
Draws a text along a given way.
|
Modifier and Type | Field and Description |
---|---|
private TextLabel |
LineTextElement.text |
TextLabel |
AreaElement.text |
TextLabel |
BoxTextElement.text |
Modifier and Type | Method and Description |
---|---|
static TextLabel |
TextLabel.create(Environment env,
Color defaultTextColor,
boolean defaultAnnotate)
Builds a text element from style properties in
c and the
default text color defaultTextColor |
Constructor and Description |
---|
AreaElement(Cascade c,
Color color,
MapImage fillImage,
Float extent,
Float extentThreshold,
TextLabel text) |
BoxTextElement(Cascade c,
TextLabel text,
BoxTextElement.BoxProvider boxProvider,
Rectangle box,
BoxTextElement.HorizontalTextAlignment hAlign,
BoxTextElement.VerticalTextAlignment vAlign) |
LineTextElement(Cascade c,
TextLabel text) |
TextLabel(TextLabel other)
Copy constructor
|