CartoType Android API 8.8-7-gb35e4dc71
for Java development on Android
|
Public Member Functions | |
int | contourCount () |
int | pointCount (int aContourIndex) |
PathPoint | point (int aContourIndex, int aPointIndex) |
boolean | isClosed () |
An interface defining open and closed paths made from contours containing on-curve or off-curve points.
int com.cartotype.Path.contourCount | ( | ) |
Returns the number of contours (sub-paths).
Implemented in com.cartotype.Geometry, com.cartotype.MapObject, com.cartotype.Route, and com.cartotype.RouteSegment.
boolean com.cartotype.Path.isClosed | ( | ) |
Returns true if the path is closed.
Implemented in com.cartotype.Geometry, com.cartotype.MapObject, com.cartotype.Route, and com.cartotype.RouteSegment.
PathPoint com.cartotype.Path.point | ( | int | aContourIndex, |
int | aPointIndex | ||
) |
Returns a point given its contour and point indexes.
Implemented in com.cartotype.Geometry, com.cartotype.MapObject, com.cartotype.Route, and com.cartotype.RouteSegment.
int com.cartotype.Path.pointCount | ( | int | aContourIndex | ) |
Returns the number of points in a contour.
Implemented in com.cartotype.Geometry, com.cartotype.MapObject, com.cartotype.Route, and com.cartotype.RouteSegment.