Table of contents

DSLayoutElement

The DSLayoutElement class represents an element in a layout analysis.

Definition

Assembly: DynamsoftCaptureVisionBundle.xcframework

  • Objective-C
  • Swift
  1. NS_SWIFT_NAME(LayoutElement)
    @interface DSLayoutElement : NSObject
    
  2. class LayoutElement : NSObject
    

Attributes

Attribute Type Description
quad DSQuadrilateral * Geometric coordinates of the element.
source DSLayoutElementSource Origin of the element.

quad

Geometric coordinates of the element.

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

source

Origin of the element.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign) DSLayoutElementSource source;
    
  2. var source: LayoutElementSource { get set }
    

This page is compatible for: