Package | Description |
---|---|
org.openstreetmap.josm.gui.draw |
Provides GUI classes for 2D drawing in the map.
|
org.openstreetmap.josm.gui.mappaint.styleelement |
Style elements defining how a map paint style is rendered.
|
Modifier and Type | Method and Description |
---|---|
static SymbolShape |
SymbolShape.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SymbolShape[] |
SymbolShape.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Optional<SymbolShape> |
SymbolShape.forName(java.lang.String val)
Get the shape with the given name
|
Modifier and Type | Method and Description |
---|---|
MapViewPath |
MapViewPath.shapeAround(EastNorth eastNorth,
SymbolShape symbol,
double size)
Add the given shape centered around the current position.
|
MapViewPath |
MapViewPath.shapeAround(ILatLon p1,
SymbolShape symbol,
double size)
Add the given shape centered around the current node.
|
MapPath2D |
MapPath2D.shapeAround(MapViewState.MapViewPoint p,
SymbolShape symbol,
double size)
Add the given shape centered around the given point
|
MapViewPath |
MapViewPath.shapeAround(MapViewState.MapViewPoint p,
SymbolShape symbol,
double size) |
Modifier and Type | Field and Description |
---|---|
private SymbolShape |
Symbol.symbolShape |
Constructor and Description |
---|
Symbol(SymbolShape symbol,
int size,
java.awt.Stroke stroke,
java.awt.Color strokeColor,
java.awt.Color fillColor)
Create a new symbol
|