NMSPolygon Class Reference

A polygon on the Earth's surface. More...

#import <NMSPolygon.h>

Inheritance diagram for NMSPolygon:
NMSOverlay

Class Methods

(instancetype) + polygonWithPath:
 Convenience constructor for NMSPolygon for a particular path. More...
 

Properties

NMSPathpath
 The path that describes this polygon. More...
 
NSArray< NMSPath * > * holes
 The array of NMSPath instances that describes any holes in this polygon. Not Supported in this version. More...
 
CGFloat strokeWidth
 The width of the polygon outline in screen points. More...
 
UIColor * strokeColor
 The color of the polygon outline. More...
 
UIColor * fillColor
 The fill color. More...
 
- Properties inherited from NMSOverlay
NSString * title
 Title, a short description of the overlay. More...
 
NSUInteger zIndex
 Higher zIndex value overlays will be drawn on top of lower zIndex value tile layers and overlays. More...
 
NMSMapViewmap
 The map this overlay is on. More...
 

Detailed Description

A polygon on the Earth's surface.

Definition at line 15 of file NMSPolygon.h.

Method Documentation

◆ polygonWithPath:()

+ (instancetype) polygonWithPath: (NMSPath *)  path

Convenience constructor for NMSPolygon for a particular path.

Parameters
pathThe path that describes this polygon.
Returns
the NMSPolygon object

Property Documentation

◆ fillColor

- (UIColor*) fillColor
readwritenonatomicretain

The fill color.

Definition at line 40 of file NMSPolygon.h.

◆ holes

- (NSArray<NMSPath*>*) holes
readwritenonatomicretain

The array of NMSPath instances that describes any holes in this polygon. Not Supported in this version.

Definition at line 31 of file NMSPolygon.h.

◆ path

- (NMSPath*) path
readwritenonatomicretain

The path that describes this polygon.

Definition at line 25 of file NMSPolygon.h.

◆ strokeColor

- (UIColor*) strokeColor
readwritenonatomicretain

The color of the polygon outline.

Definition at line 37 of file NMSPolygon.h.

◆ strokeWidth

- (CGFloat) strokeWidth
readwritenonatomicassign

The width of the polygon outline in screen points.

Definition at line 34 of file NMSPolygon.h.


The documentation for this class was generated from the following file:
  • /Users/jenkins/workspace/mobilesdk-ios/iOS/Deployment/NavionicsMobileSDK.framework/Headers/NMSPolygon.h