Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint.styleelement |
Style elements defining how a map paint style is rendered.
|
Modifier and Type | Class and Description |
---|---|
static class |
BoxTextElement.SimpleBoxProvider
A
BoxTextElement.BoxProvider that always returns the same non-temporary rectangle |
protected class |
MapImage.MapImageBoxProvider |
Modifier and Type | Field and Description |
---|---|
protected BoxTextElement.BoxProvider |
BoxTextElement.boxProvider |
static BoxTextElement.BoxProvider |
DefaultStyles.SIMPLE_NODE_ELEMSTYLE_BOXPROVIDER
A box provider that provides the size of a simple node
|
Modifier and Type | Method and Description |
---|---|
BoxTextElement.BoxProvider |
MapImage.getBoxProvider()
Gets a box provider that provides a box that covers the size of this image
|
BoxTextElement.BoxProvider |
NodeElement.getBoxProvider()
Gets the selection box for this element.
|
Modifier and Type | Method and Description |
---|---|
static BoxTextElement |
BoxTextElement.create(Environment env,
BoxTextElement.BoxProvider boxProvider)
Create a new
BoxTextElement with a boxprovider and a box. |
Constructor and Description |
---|
BoxTextElement(Cascade c,
TextLabel text,
BoxTextElement.BoxProvider boxProvider,
int offsetX,
int offsetY,
BoxTextElement.HorizontalTextAlignment hAlign,
BoxTextElement.VerticalTextAlignment vAlign)
Create a new
BoxTextElement |