DSContour
The Contour class represents a contour made up of multiple points.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSContour : NSObjectclass Contour : NSObject
Attributes & Methods
| Attributes | Type | Description |
|---|---|---|
points |
NSArray * | An array of Point objects defining the vertices of the contour. |
| Method | Description |
|---|---|
initWithPointArray |
The constructor. Creates an instance from an array of points. |
points
An array of Point objects defining the vertices of the contour.
- Objective-C
- Swift
@property (nonatomic, copy, nullable) NSArray *points;var points: [Point] { get set }
initWithPointArray
The constructor. Creates an instance from an array of points.
- Objective-C
- Swift
- (instancetype)initWithPointArray:(nullable NSArray *)points;init(points: [Point]?)