deCartaPolyline Class Reference
[Classes for map display and map-related functionality]

A multi-segment line. More...

#import <deCartaPolyline.h>

Inheritance diagram for deCartaPolyline:
deCartaShape

List of all members.

Public Member Functions

(id) - initWithPositions:name:

Properties

int strokeSize
NSArray * positions

Detailed Description

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.


Member Function Documentation

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

Parameters:
positions NSArray of deCartaPosition objects with the X,Y coordinates of each vertex along the polyline.
name NSString name for this deCartaPolyline object.
Returns:
Objective-C ID of the deCartaPolyline object returned

Property Documentation

- (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)


The documentation for this class was generated from the following files:
 All Classes Functions Variables Properties

Generated on Fri Aug 12 16:23:01 2011 for deCarta iPhone API by  doxygen 1.6.1