Table of contents

DSEdge

The DSEdge class represents an edge defined by two Corners.

Definition

Assembly: DynamsoftCaptureVisionBundle.xcframework

  • Objective-C
  • Swift
  1. @interface DSEdge : NSObject
    
  2. class 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
  1. @property (nonatomic, strong) DSCorner *startCorner;
    
  2. var startCorner: Corner? { get set }
    

endCorner

The ending corner of the edge.

  • Objective-C
  • Swift
  1. @property (nonatomic, strong) DSCorner *endCorner;
    
  2. var endCorner: Corner? { get set }
    

initWithStartCorner

The constructor. Creates an instance from start corner and end corner.

  • Objective-C
  • Swift
  1. - (instancetype)initWithStartCorner:(DSCorner *)startCorner
                          endCorner:(DSCorner *)endCorner;
    
  2. init(startCorner: Corner, endCorner: Corner)
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: