SKCircle Class Reference

Inherits from SKOverlay : NSObject
Declared in SKCircle.h

Overview

SKCircle stores the information related to a circle map overlay. This object is used as an input parameter.

  centerCoordinate

The center coordinate of the circle.

@property (nonatomic, assign) CLLocationCoordinate2D centerCoordinate

Discussion

The center coordinate of the circle.

Declared In

SKCircle.h

  radius

The radius of the circle in meters.

@property (nonatomic, assign) float radius

Discussion

The radius of the circle in meters.

Declared In

SKCircle.h

  borderWidth

The width of the border. Should be a value in [1, 10] interval.

@property (nonatomic, assign) NSInteger borderWidth

Discussion

The width of the border. Should be a value in [1, 10] interval.

Declared In

SKCircle.h

  isMask

If YES, the outer area will be colored according to the rest of the settings.

@property (nonatomic, assign) BOOL isMask

Discussion

If YES, the outer area will be colored according to the rest of the settings.

Declared In

SKCircle.h

  maskedObjectScale

Scale of the outer mask. Multiplies the radius value of the circle. If set to 0, the entire map will be colored.

@property (nonatomic, assign) float maskedObjectScale

Discussion

Scale of the outer mask. Multiplies the radius value of the circle. If set to 0, the entire map will be colored.

Declared In

SKCircle.h

  numberOfPoints

The number of points to represent the border of the circle (is bounded in the [36, 180] interval).

@property (nonatomic, assign) NSInteger numberOfPoints

Discussion

The number of points to represent the border of the circle (is bounded in the [36, 180] interval).

Declared In

SKCircle.h

+ circle

Creates an empty SKCircle object.

+ (instancetype)circle

Discussion

Creates an empty SKCircle object.

Declared In

SKCircle.h