Resource Base
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

DSCorner

The DSCorner class represents a corner, typically where two line segments meet.

Definition

Assembly: DynamsoftCore.framework

  • Objective-C
  • Swift
  1. @interface DSCorner: NSObject
    
  2. class Corner: NSObject
    

Attributes

Attributes Type Description
type DSCornerType The type of the corner, represented by the enumeration DSCornerType.
intersection CGPoint The point of intersection of the two lines forming the corner.
line1 DSLineSegment * The first line segment forming the corner.
line2 DSLineSegment * The second line segment forming the corner.

type

The type of the corner, represented by the enumeration DSCornerType.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign) DSCornerType type
    
  2. var type: DSCornerType { get set }
    

intersection

The coordinate of the intersection point of the corner.

  • Objective-C
  • Swift
  1. @property (nonatomic, assign) CGPoint intersection
    
  2. var intersection: CGPoint { get set }
    

line1

The first line segment forming the corner.

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

line2

The second line segment forming the corner.

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

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version
    • Version 2.x
      • Version 2.2.10
      • Version 2.0.21
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.2.10
      • Version 2.0.21
      • Version 2.0.20
      • Version 2.0.10
    • Version 1.x
      • Version 1.2.1
      • Version 1.2.0
      • Version 1.1.0
      • Version 1.0.0
      • Version 1.0.4
      • Version 1.0.3
      • Version 1.0.2
      • Version 1.0.1
      • Version 1.0.0
      • Version 1.1.13
      • Version 1.1.12
      • Version 1.1.11
      • Version 1.1.9
      • Version 1.1.8
      • Version 1.1.7
      • Version 1.1.6
      • Version 1.1.5
      • Version 1.1.4
      • Version 1.1.3
      • Version 1.1.2
      • Version 1.1.1
      • Version 1.1.0
      • Version 1.0.0
      • Version 1.0.4
      • Version 1.0.3
      • Version 1.0.2
      • Version 1.0.1
      • Version 1.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support