DSLineSegment
The DSLineSegment
class represents a line segment defined by two Points
.
Definition
Assembly: DynamsoftCore.xcframework
- Objective-C
- Swift
@interface DSLineSegment : NSObject
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
@property(nonatomic, assign) CGPoint startPoint;
var startPoint: CGPoint { get set }
endPoint
The ending point of the line segment.
- Objective-C
- Swift
@property(nonatomic, assign) CGPoint endPoint;
var endPoint: CGPoint { get set }