Package | Description |
---|---|
org.openstreetmap.josm.gui.mappaint.styleelement |
Style elements defining how a map paint style is rendered.
|
org.openstreetmap.josm.tools |
Provides the classes for various utilities and tools called from all other packages.
|
Modifier and Type | Field and Description |
---|---|
private RotationAngle |
AreaIconElement.iconImageAngle
The rotation of the
AreaIconElement.iconImageAngle |
RotationAngle |
NodeElement.mapImageAngle
The angle that is used to rotate
NodeElement.mapImage . |
Modifier and Type | Method and Description |
---|---|
static RotationAngle |
NodeElement.createRotationAngle(Environment env)
Reads the icon-rotation property and creates a rotation angle from it.
|
Constructor and Description |
---|
AreaIconElement(Cascade c,
MapImage iconImage,
RotationAngle iconImageAngle,
PositionForAreaStrategy iconPosition) |
NodeElement(Cascade c,
MapImage mapImage,
Symbol symbol,
float defaultMajorZindex,
RotationAngle rotationAngle) |
Modifier and Type | Class and Description |
---|---|
static class |
RotationAngle.StaticRotationAngle
A static rotation
|
static class |
RotationAngle.WayDirectionRotationAngle
The rotation along a way.
|
Modifier and Type | Field and Description |
---|---|
static RotationAngle |
RotationAngle.NO_ROTATION
A no-rotation angle that always returns 0.
|
Modifier and Type | Method and Description |
---|---|
static RotationAngle |
RotationAngle.buildStaticRotation(double angle)
Always returns the fixed
angle . |
static RotationAngle |
RotationAngle.buildStaticRotation(java.lang.String string)
Parses the rotation angle from the specified
string . |
static RotationAngle |
RotationAngle.buildWayDirectionRotation()
Computes the angle depending on the referencing way segment, or
0 if none exists. |