protected static class ShapeEditor.ControlPointMarker extends BasicMarker
Modifier and Type | Field and Description |
---|---|
protected int |
id
The control point's ID, which is typically its list index when the shape has a list of locations.
|
protected int |
leg
Identifies individual track boxes.
|
protected java.lang.String |
purpose
Indicates the feature the control point affects.
|
protected Angle |
rotation
Indicates angle if this control point affects an angle associated with the shape, otherwise null.
|
protected java.lang.Double |
size
Indicates size (in meters) if this control point affects a size of the shape, otherwise null.
|
attributes, heading, pitch, position, roll
Constructor and Description |
---|
ControlPointMarker(Position position,
MarkerAttributes attrs,
int id,
int leg,
java.lang.String purpose) |
ControlPointMarker(Position position,
MarkerAttributes attrs,
int id,
java.lang.String purpose) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
int |
getLeg() |
java.lang.String |
getPurpose() |
Angle |
getRotation() |
java.lang.Double |
getSize() |
void |
setRotation(Angle rotation) |
void |
setSize(double size) |
getAttributes, getHeading, getPitch, getPosition, getRoll, render, render, setAttributes, setHeading, setPitch, setPosition, setRoll
protected int id
protected int leg
protected java.lang.String purpose
protected Angle rotation
protected java.lang.Double size
public ControlPointMarker(Position position, MarkerAttributes attrs, int id, int leg, java.lang.String purpose)
public ControlPointMarker(Position position, MarkerAttributes attrs, int id, java.lang.String purpose)