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 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 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,
String purpose) |
ControlPointMarker(Position position,
MarkerAttributes attrs,
int id,
String purpose) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
int |
getLeg() |
String |
getPurpose() |
Angle |
getRotation() |
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 String purpose
protected Angle rotation
protected Double size
public ControlPointMarker(Position position, MarkerAttributes attrs, int id, int leg, String purpose)
public ControlPointMarker(Position position, MarkerAttributes attrs, int id, String purpose)