Table of contents

DSTextZone

The TextZone class describes a text zone.

Definition

Assembly: DynamsoftCaptureVisionBundle.xcframework

  • Objective-C
  • Swift
  1. @interface DSTextZone: NSObject
    
  2. class TextZone: NSObject
    

Attributes & Methods

Attributes Type Description
location DSQuadrilateral * * The location of the text zone.
charContoursIndices NSArray * * The indices of the character contours.
Method Description
initWithLocation The constructor. Creates a DSRect from the specified parameters.

location

The location of the text zone.

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

charContourIndices

The indices of the character contours.

  • Objective-C
  • Swift
  1. @property (nonatomic, copy, nullable) NSArray<NSNumber *> *charContoursIndices;
    
  2. var charContoursIndices: [NSNumber]? { get set }
    

initWithLocation

The constructor. Creates a DSTextZone from the location and the character contour indices.

  • Objective-C
  • Swift
  1. - (instancetype)initWithLocation:(DSQuadrilateral *)location
         charContoursIndiceArray:(nullable NSArray<NSNumber *> *)charContoursIndices;
    
  2. init(location: Quadrilateral, charContoursIndices: [NSNumber]?)
    

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article: