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 |
Properties
@property (nonatomic, readonly, nonnull) YMKLinearRing *outerRing; |
@property (nonatomic, readonly, nonnull) NSArray<YMKLinearRing *> *innerRings; |
Class methods
polygonWithOuterRing:innerRings:
+ (nonnull YMKPolygon *)polygonWithOuterRing:(nonnull YMKLinearRing *)outerRing |
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.