public class Path extends Element
Element.
You should generally create one with a list of Coordinates from Directions.getPath(), but
there is nothing stopping you from creating one using your own array of Coordinates.| Constructor and Description |
|---|
Path(Coordinate[] coordinates,
float width,
float height,
int color,
boolean showConnections,
int connectionColor,
float over) |
Path(Coordinate[] coordinates,
float width,
float height,
int color,
boolean showConnections,
int connectionColor,
float over,
boolean pulseEnabled) |
Path(Coordinate[] coordinates,
float width,
float height,
int color,
boolean showConnections,
int connectionColor,
float over,
boolean pulseEnabled,
int pulseColor,
double pulseTime,
int pulseLimit) |
Path(Coordinate[] coordinates,
float width,
float height,
int color,
float over)
Use a list of
Coordinate objects to create a Path. |
Path(Coordinate[] coordinates,
float width,
float height,
int color,
float over,
boolean pulseEnabled,
int pulseColor,
double pulseTime,
int pulseLimit)
Use a list of
Coordinate objects to create a Path. |
| Modifier and Type | Method and Description |
|---|---|
com.mappedin.sdk.FocusPoints |
getPoints()
Returns a focusable object's 3D points
|
public Path(Coordinate[] coordinates, float width, float height, int color, boolean showConnections, int connectionColor, float over, boolean pulseEnabled, int pulseColor, double pulseTime, int pulseLimit)
public Path(Coordinate[] coordinates, float width, float height, int color, float over)
Coordinate objects to create a Path. You can specify the style,
and how long it takes to draw.coordinates - List of Coordinates (get from Directions.getPath())width - the width of path in metersheight - the height of path in meterscolor - the color of pathover - animation time in secondspublic Path(Coordinate[] coordinates, float width, float height, int color, float over, boolean pulseEnabled, int pulseColor, double pulseTime, int pulseLimit)
Coordinate objects to create a Path. You can specify the style,
and how long it takes to draw.coordinates - List of Coordinates (get from Directions.getPath())width - the width of path in metersheight - the height of path in meterscolor - the color of pathover - animation time in secondspulseEnabled - if the path pulse should be included on the pathpulseColor - the color of the pulsepulseTime - time it takes for the pulse to move from one location to another in secondspulseLimit - number of pulses to show. 0 shows no pulses and -1 shows infinite pulses.public Path(Coordinate[] coordinates, float width, float height, int color, boolean showConnections, int connectionColor, float over)
public Path(Coordinate[] coordinates, float width, float height, int color, boolean showConnections, int connectionColor, float over, boolean pulseEnabled)
public com.mappedin.sdk.FocusPoints getPoints()
Focusable