public static class LinePath.LinePathParam extends java.lang.Object implements Path.PathParam
LinePathParam contains the status of a LinePath.| Constructor and Description |
|---|
LinePathParam() |
| Modifier and Type | Method and Description |
|---|---|
float |
getDistance()
Returns the distance from the start of the path
|
int |
getSegmentIndex()
Returns the index of the current segment along the path
|
void |
setDistance(float distance)
Sets the distance from the start of the path
|
public float getDistance()
Path.PathParamgetDistance in interface Path.PathParampublic void setDistance(float distance)
Path.PathParamsetDistance in interface Path.PathParamdistance - the distance to setpublic int getSegmentIndex()