YMKSegment
|
@interface YMKSegment : NSObject |
A line between two points.
Summary
Class methods
|
+ (nonnull YMKSegment *)segmentWithStartPoint:(nonnull YMKPoint *)startPoint |
Properties
|
@property (nonatomic, readonly, nonnull) YMKPoint *startPoint; |
|
@property (nonatomic, readonly, nonnull) YMKPoint *endPoint; |
Class methods
segmentWithStartPoint:endPoint:
|
+ (nonnull YMKSegment *)segmentWithStartPoint:(nonnull YMKPoint *)startPoint |
Properties
startPoint
|
@property (nonatomic, readonly, nonnull) YMKPoint *startPoint; |
Starting point of the segment.
endPoint
|
@property (nonatomic, readonly, nonnull) YMKPoint *endPoint; |
End point of the segment.