CartoType iOS API 8.8-13-g03c6f7017
for development in Swift and Objective C for iOS and Mac OS
|
#import <CartoTypeBase.h>
Instance Methods | |
(int) | - contourCount |
(int) | - pointCount: |
(CartoTypePathPoint) | - point:pointIndex: |
The CartoType path protocol.
- (int) contourCount |
Gets the number of contours (sub-paths) in the path.
Reimplemented in CartoTypeMapObject, CartoTypeRouteSegment, and CartoTypeRoute.
- (CartoTypePathPoint) 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 CartoTypeMapObject, CartoTypeRouteSegment, and CartoTypeRoute.
- (int) pointCount: | (int) | aContourIndex |
Gets the number of points in a certain contour.
Reimplemented in CartoTypeMapObject, CartoTypeRouteSegment, and CartoTypeRoute.