Package | Description |
---|---|
org.openstreetmap.josm.data.osm.visitor.paint | |
org.openstreetmap.josm.gui.mappaint |
Modifier and Type | Method and Description |
---|---|
private void |
StyledMapRenderer.displayText(java.awt.font.GlyphVector gv,
java.lang.String s,
int x,
int y,
boolean disabled,
TextElement text)
Displays text at specified position including its halo, if applicable.
|
protected void |
StyledMapRenderer.drawArea(OsmPrimitive osm,
java.awt.geom.Path2D.Double path,
java.awt.Color color,
MapImage fillImage,
boolean disabled,
TextElement text) |
void |
StyledMapRenderer.drawArea(Relation r,
java.awt.Color color,
MapImage fillImage,
boolean disabled,
TextElement text) |
void |
StyledMapRenderer.drawArea(Way w,
java.awt.Color color,
MapImage fillImage,
boolean disabled,
TextElement text) |
private void |
StyledMapRenderer.drawAreaText(OsmPrimitive osm,
TextElement text,
java.awt.Shape area) |
void |
StyledMapRenderer.drawTextOnPath(Way way,
TextElement text) |
Modifier and Type | Field and Description |
---|---|
TextElement |
BoxTextElemStyle.text |
private TextElement |
LineTextElemStyle.text |
TextElement |
AreaElemStyle.text |
Modifier and Type | Method and Description |
---|---|
static TextElement |
TextElement.create(Environment env,
java.awt.Color defaultTextColor,
boolean defaultAnnotate)
Builds a text element from style properties in
c and the
default text color defaultTextColor |
Constructor and Description |
---|
AreaElemStyle(Cascade c,
java.awt.Color color,
MapImage fillImage,
TextElement text) |
BoxTextElemStyle(Cascade c,
TextElement text,
BoxTextElemStyle.BoxProvider boxProvider,
java.awt.Rectangle box,
BoxTextElemStyle.HorizontalTextAlignment hAlign,
BoxTextElemStyle.VerticalTextAlignment vAlign) |
LineTextElemStyle(Cascade c,
TextElement text) |
TextElement(TextElement other)
Copy constructor
|