Dev Center
Swift
Objective-C
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.

Class iLineSegment

Stores line segment data.

  • Objective-C
  • Swift
  1. @interface iLineSegment : NSObject
    
  2. class iLineSegment : NSObject
    
Attribute Descriptions
startPoint The start point of the line segment.
endPoint The end point of the line segment.
linesConfidenceCoefficients The confidence coefficients for lines.

startPoint

The start point of the line segment.

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

endPoint

The end point of the line segment.

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

linesConfidenceCoefficients

The confidence coefficients for lines. There are 4 coefficients in this set:

  1. linesConfidenceCoefficients[0] is average positive amplitude;
  2. linesConfidenceCoefficients[1] is max positive amplitude;
  3. linesConfidenceCoefficients[2] is average negative amplitude;
  4. linesConfidenceCoefficients[3] is max negative amplitude.
  • Objective-C
  • Swift
  1. @property (nonatomic, nullable) NSData* linesConfidenceCoefficients
    
  2. var linesConfidenceCoefficients: Data? { get set }
    

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

  • Latest version
  • Version 9.x
    • Version 9.6.40
    • Version 9.6.20
    • Version 9.6.11
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.13
    • Version 9.2.11
    • Version 9.2.10
    • Version 9.0.2
    • Version 9.0.1
    • Version 9.0.0
  • Version 8.x
    • Version 8.9.3
    • Version 8.9.1
    • Version 8.9.0
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • Version 8.2.1
    • Version 8.2.0
    • Version 8.1.2
    • Version 8.1.0
    • Version 8.0.0
  • Version 7.x
    • Version 7.6.0
    • Version 7.5.0
Change +