Resource Base
Table of contents

DSLineSegment

The DSLineSegment class represents a line segment defined by two Points.

Definition

Assembly: DynamsoftCore.xcframework

  • Objective-C
  • Swift
  1. @interface DSLineSegment : NSObject
    
  2. class LineSegment : NSObject
    

Attributes

Attributes Type Description
startPoint CGPoint The starting point of the line segment.
endPoint CGPoint The ending point of the line segment.

startPoint

The starting point of the line segment.

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

endPoint

The ending point of the line segment.

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

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    Change +