|
CartoType iOS API 9.2-12-g6c2dcf66f
for development in Swift and Objective C for iOS and Mac OS
|
#import <CartoTypeBase.h>
Instance Methods | |
| (int) | - contourCount |
| (int) | - pointCount: |
| (CtPathPoint) | - point:pointIndex: |
The CartoType path protocol.
| - (int) contourCount |
Gets the number of contours (sub-paths) in the path.
Reimplemented in CtMapObject, CtRouteSegment, and CtRoute.
| - (CtPathPoint) point: | (int) | aContourIndex | |
| pointIndex: | (int) | aPointIndex | |
Gets a point, given its contour index and point index. Returns (0,0) if the contour index or point index is out of range.
Reimplemented in CtMapObject, CtRouteSegment, and CtRoute.
| - (int) pointCount: | (int) | aContourIndex |
Gets the number of points in a certain contour.
Reimplemented in CtMapObject, CtRouteSegment, and CtRoute.