NMSPolygon.h
1 //
2 // NMSPolygon.h
3 // NavionicsMobileSDK
4 //
5 // Copyright © 2016 Navionics. All rights reserved.
6 //
7 
8 #import "NMSOverlay.h"
9 #import <UIKit/UIKit.h>
10 #import <CoreGraphics/CoreGraphics.h>
11 
12 @class NMSPath;
13 
15 @interface NMSPolygon : NMSOverlay
16 
22 + (instancetype)polygonWithPath:(NMSPath*)path;
23 
25 @property(nonatomic, retain)NMSPath* path;
26 
31 @property(nonatomic, retain)NSArray<NMSPath*>* holes;
32 
34 @property(nonatomic, assign)CGFloat strokeWidth;
35 
37 @property(nonatomic, retain)UIColor* strokeColor;
38 
40 @property(nonatomic, retain)UIColor* fillColor;
41 
42 @end
UIColor * strokeColor
The color of the polygon outline.
Definition: NMSPolygon.h:37
Array of CLLocationCoordinate2D.
Definition: NMSPath.h:12
NSArray< NMSPath * > * holes
The array of NMSPath instances that describes any holes in this polygon. Not Supported in this versi...
Definition: NMSPolygon.h:31
A polygon on the Earth&#39;s surface.
Definition: NMSPolygon.h:15
UIColor * fillColor
The fill color.
Definition: NMSPolygon.h:40
Abstract class that represents some overlay that may be attached to a specific NMSMapView.
Definition: NMSOverlay.h:12
CGFloat strokeWidth
The width of the polygon outline in screen points.
Definition: NMSPolygon.h:34