DSTextZone
The TextZone class describes a text zone.
Definition
Assembly: DynamsoftCaptureVisionBundle.xcframework
- Objective-C
- Swift
@interface DSTextZone: NSObjectclass 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
@property (nonatomic, strong) DSQuadrilateral * location;var location: Quadrilateral? { get set }
charContourIndices
The indices of the character contours.
- Objective-C
- Swift
@property (nonatomic, copy, nullable) NSArray<NSNumber *> *charContoursIndices;var charContoursIndices: [NSNumber]? { get set }
initWithLocation
The constructor. Creates a DSTextZone from the location and the character contour indices.
- Objective-C
- Swift
- (instancetype)initWithLocation:(DSQuadrilateral *)location charContoursIndiceArray:(nullable NSArray<NSNumber *> *)charContoursIndices;init(location: Quadrilateral, charContoursIndices: [NSNumber]?)