GPKGPolygonHolePoints
Objective-C
@interface GPKGPolygonHolePoints : NSObject <GPKGShapePoints>
Swift
class GPKGPolygonHolePoints : NSObject, GPKGShapePoints
Polygon hole points shape
-
Parent polygon points
Declaration
Objective-C
@property (nonatomic, strong) GPKGPolygonPoints *parentPolygon;Swift
var parentPolygon: GPKGPolygonPoints! { get set } -
Polygon hole points
Declaration
Objective-C
@property (nonatomic, strong) NSMutableArray *points;Swift
var points: NSMutableArray! { get set } -
Initialize
Declaration
Objective-C
- (instancetype)initWithPolygonPoints:(GPKGPolygonPoints *)polygonPoints;Swift
init!(polygonPoints: GPKGPolygonPoints!)Parameters
polygonPointspolygon points
Return Value
new polygon hole points
-
Add a hole point
Declaration
Objective-C
- (void)addPoint:(GPKGMapPoint *)point;Swift
func addPoint(_ point: GPKGMapPoint!)Parameters
pointpoint
-
Remove the polygon hole points from the map view
Declaration
Objective-C
- (void)removeFromMapView:(MKMapView *)mapView;Swift
func remove(from mapView: MKMapView!)Parameters
mapViewmap view
-
Determine if the polygon hole points is valid
Declaration
Objective-C
- (BOOL)isValid;Swift
func isValid() -> BoolReturn Value
true if valid
-
Determine if the polygon hole points has been deleted
Declaration
Objective-C
- (BOOL)isDeleted;Swift
func isDeleted() -> BoolReturn Value
true if deleted
View on GitHub
GPKGPolygonHolePoints Class Reference