CartoType Android API 8.8-7-gb35e4dc71
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 contourCount ()
 
int pointCount (int aContourIndex)
 
PathPoint point (int aContourIndex, int aPointIndex)
 
boolean isClosed ()
 

Detailed Description

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

Member Function Documentation

◆ contourCount()

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.

◆ 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.

◆ point()

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.

◆ pointCount()

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.


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