Loading...
Searching...
No Matches
NCPolygon.h
Go to the documentation of this file.
1#import "NCExport.h"
2#import "NCPoint.h"
3#import <Foundation/Foundation.h>
4
24DEFAULT_EXPORT_ATTRIBUTE
25@interface NCPolygon : NSObject
26
30- (nonnull instancetype)initWithPoints:(nonnull NSArray<NCPoint *> *)points;
31
35+ (nonnull instancetype)polygonWithPoints:(nonnull NSArray<NCPoint *> *)points;
36
49@property (nonatomic, readonly, nonnull) NSArray<NCPoint *> * points;
50
51@end