NMGPolygon


@interface NMGPolygon<__covariant PointType> : NSObject <NMGGeometry>

폴리곤을 나타내는 클래스.

  • 외곽선.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) NMGLineString<PointType> *exteriorRing;

    Swift

    var exteriorRing: NMGLineString { get set }
  • 내부 홀의 배열.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nonnull) NSArray<NMGLineString<PointType> *> *interiorRings;

    Swift

    var interiorRings: [NMGLineString] { get }
  • 내부 홀의 개수.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSUInteger interiorRingCount;

    Swift

    var interiorRingCount: UInt { get }