NTLine
@interface NTLine : NTVectorElement
A geometric line string that can be displayed on the map.
-
Constructs a Line object from a geometry object and a style.
Declaration
Objective-C
- (id)initWithGeometry:(NTLineGeometry *)geometry style:(NTLineStyle *)style;Parameters
geometryThe geometry object that defines the location of this line.
styleThe style that defines what this line looks like.
-
Constructs a Line object from a vector of map positions and a style.
Declaration
Objective-C
- (id)initWithPoses:(NTMapPosVector *)poses style:(NTLineStyle *)style;Parameters
posesThe vector of map positions that defines the location of this line.
styleThe style that defines what this line looks like.
-
Undocumented
Declaration
Objective-C
- (NTLineGeometry *)getGeometry; -
Sets the location for this line.
Declaration
Objective-C
- (void)setGeometry:(NTLineGeometry *)geometry;Parameters
geometryThe new geometry object that defines the location of this line.
-
Returns the vertices that define this line.
Declaration
Objective-C
- (NTMapPosVector *)getPoses;Return Value
The vector of map positions that defines this line.
-
Sets the vertices that define this line.
Declaration
Objective-C
- (void)setPoses:(NTMapPosVector *)poses;Parameters
posesThe new vector of map positions that defines this line.
-
Returns the style of this line.
Declaration
Objective-C
- (NTLineStyle *)getStyle;Return Value
The style that defines what this line looks like.
-
Sets the style for this line.
Declaration
Objective-C
- (void)setStyle:(NTLineStyle *)style;Parameters
styleThe new style that defines what this line looks like.
-
Undocumented
Declaration
Objective-C
-(void)dealloc;
View on GitHub
NTLine Class Reference