Table of contents

DSContour

The Contour class represents a contour made up of multiple points.

Definition

Assembly: DynamsoftCaptureVisionBundle.xcframework

  • Objective-C
  • Swift
  1. @interface DSContour : NSObject
    
  2. class 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
  1. @property (nonatomic, copy, nullable) NSArray *points;
    
  2. var points: [Point] { get set }
    

initWithPointArray

The constructor. Creates an instance from an array of points.

  • Objective-C
  • Swift
  1. - (instancetype)initWithPointArray:(nullable NSArray *)points;
    
  2. init(points: [Point]?)
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: