A multi-segment line. More...
#import <deCartaPolyline.h>
Public Member Functions | |
| (id) | - initWithPositions:name: |
Properties | |
| int | strokeSize |
| NSArray * | positions |
A multi-segment line.
deCartaPolyline is an extension of deCartaShape that is intended for rendering multi-segmented lines. The deCartaPolyline class inherits from the deCartaShape class, which inherits from the deCartaEventSource class. So, deCartaPolyline could theoretically support event-capturing, but this functionality is not implemented, so a deCartaPolyline will not trigger any events.
| - (id) initWithPositions: | (NSArray *) | positions | ||
| name: | (NSString *) | name | ||
Initializes the deCartaPolyline object with an array of deCartaPosition objects indicating the vertices of the polyline, and a string indicating the name of this polyline.
| positions | NSArray of deCartaPosition objects with the X,Y coordinates of each vertex along the polyline. | |
| name | NSString name for this deCartaPolyline object. |
- (NSArray*) positions [read, write, retain] |
Array of deCartaPosition objects indicating the geographic coordinates of the vertices of the line segments on a map.
- (int) strokeSize [read, write, assign] |
Integer stroke size, indicating line thickness, in pixels (up to 64)
1.6.1