DSEdge
The DSEdge class represents an edge defined by two Corners.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSEdge : NSObjectclass Edge : NSObject
Attributes & Methods
| Attributes | Type | Description |
|---|---|---|
startCorner |
DSCorner * | The starting corner of the edge. |
endCorner |
DSCorner * | The ending corner of the edge. |
| Method | Description |
|---|---|
initWithStartCorner |
The constructor. Creates an instance from start corner and end corner. |
startCorner
The starting corner of the edge.
- Objective-C
- Swift
@property (nonatomic, strong) DSCorner *startCorner;var startCorner: Corner? { get set }
endCorner
The ending corner of the edge.
- Objective-C
- Swift
@property (nonatomic, strong) DSCorner *endCorner;var endCorner: Corner? { get set }
initWithStartCorner
The constructor. Creates an instance from start corner and end corner.
- Objective-C
- Swift
- (instancetype)initWithStartCorner:(DSCorner *)startCorner endCorner:(DSCorner *)endCorner;init(startCorner: Corner, endCorner: Corner)