CartoType Android API 7.8.2, 2022-03-25
for Java development on Android
Public Member Functions | List of all members
com.cartotype.Path Interface Reference
Inheritance diagram for com.cartotype.Path:
com.cartotype.Geometry com.cartotype.MapObject com.cartotype.Route com.cartotype.RouteSegment

Public Member Functions

int getContourCount ()
 
int getPointCount (int aContourIndex)
 
void getPoint (int aContourIndex, int aPointIndex, PathPoint aPoint)
 
boolean isClosed ()
 

Detailed Description

An interface defining open and closed paths made from contours containing on-curve or off-curve points.

Member Function Documentation

◆ getContourCount()

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.

◆ getPoint()

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.

◆ getPointCount()

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.

◆ isClosed()

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.


The documentation for this interface was generated from the following file: