NMSCircle.h
1 //
2 // NMSCircle.h
3 // NavionicsMobileSDK
4 //
5 // Copyright © 2016 Navionics. All rights reserved.
6 //
7 
8 #import "NMSOverlay.h"
9 #import <UIKit/UIKit.h>
10 #import <CoreLocation/CoreLocation.h>
11 #import <CoreGraphics/CoreGraphics.h>
12 
14 @interface NMSCircle : NMSOverlay
15 
22 + (instancetype) circleWithPosition:(CLLocationCoordinate2D)position radius:(float)radius;
23 
25 @property(nonatomic, assign)CLLocationCoordinate2D position;
26 
28 @property(nonatomic, assign)CLLocationDistance radius;
29 
31 @property(nonatomic, assign)CGFloat strokeWidth;
32 
34 @property(nonatomic, retain)UIColor* strokeColor;
35 
37 @property(nonatomic, retain)UIColor* fillColor;
38 
39 
40 @end
CLLocationDistance radius
Radius of the circle in meters; must be positive.
Definition: NMSCircle.h:28
CGFloat strokeWidth
The width of the circle&#39;s outline in screen points.
Definition: NMSCircle.h:31
UIColor * fillColor
The interior of the circle is painted with fillColor.
Definition: NMSCircle.h:37
UIColor * strokeColor
The color of this circle&#39;s outline.
Definition: NMSCircle.h:34
CLLocationCoordinate2D position
Position on Earth of circle center.
Definition: NMSCircle.h:25
A circle on the Earth&#39;s surface.
Definition: NMSCircle.h:14
Abstract class that represents some overlay that may be attached to a specific NMSMapView.
Definition: NMSOverlay.h:12