CartoType Android API 7.8.2, 2022-03-25
for Java development on Android
|
Public Member Functions | |
int | getContourCount () |
int | getPointCount (int aContourIndex) |
void | getPoint (int aContourIndex, int aPointIndex, PathPoint aPoint) |
boolean | isClosed () |
An interface defining open and closed paths made from contours containing on-curve or off-curve points.
int com.cartotype.Path.getContourCount | ( | ) |
Gets the number of contours (sub-paths).
Implemented in com.cartotype.Geometry, com.cartotype.MapObject, com.cartotype.Route, and com.cartotype.RouteSegment.
void com.cartotype.Path.getPoint | ( | int | aContourIndex, |
int | aPointIndex, | ||
PathPoint | aPoint | ||
) |
Gets 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.getPointCount | ( | int | aContourIndex | ) |
Gets the number of points in a contour.
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.