Xoetrope

 Wiki : XWaypointFlag

HomePage :: Categories :: PageIndex :: RecentChanges :: RecentlyCommented :: Login/Register
Carousel logo

XWaypointFlag

class com.xoetrope.svg.XWaypointFlag

A waypoint flag which can be used when plotting a route to highlight particular waypoints.

1. Constructor


public XWaypointFlag( SVGRoot root )

Creates a new instance of XWaypointFlag and is passed the SVGRoot instance that this instance will be added to.

2. Methods


1. drawFlag

public void drawFlag( double x, double y, String content, int type )

Draws the flag at the specified x and y coordinates, taking a String which will be the content displayed and an integer specifying the flag type.
The flag types are: START_WAYPOINT, END_WAYPOINT and MARKER_WAYPOINT.

There are no comments on this page. [Add comment]

Page was generated in 0.3855 seconds