YMKPolygon

@interface YMKPolygon : NSObject

A polygon with one or more polygons in it. The exterior and interior areas are specified using LinearRing.

Summary

Class methods

+ (nonnull YMKPolygon *)polygonWithOuterRing:(nonnull YMKLinearRing *)outerRing
                                  innerRings:(nonnull NSArray<YMKLinearRing *> *)innerRings;

Properties

@property (nonatomic, readonly, nonnull) YMKLinearRing *outerRing;
The ring specifying the area

@property (nonatomic, readonly, nonnull) NSArray<YMKLinearRing *> *innerRings;
The list of rings in the specified area

Class methods

polygonWithOuterRing:innerRings:

+ (nonnull YMKPolygon *)polygonWithOuterRing:(nonnull YMKLinearRing *)outerRing
                                  innerRings:(nonnull NSArray<YMKLinearRing *> *)innerRings;


Properties

outerRing

@property (nonatomic, readonly, nonnull) YMKLinearRing *outerRing;

The ring specifying the area.


innerRings

@property (nonatomic, readonly, nonnull) NSArray<YMKLinearRing *> *innerRings;

The list of rings in the specified area.