Class YMKSegment

A line between two points.

Class Methods

Properties

endPoint

End point of the segment.

startPoint

Starting point of the segment.

endPoint

End point of the segment.

startPoint

Starting point of the segment.

Method Detail

+segmentWithStartPoint:endPoint:

+ (nonnull YMKSegment *)segmentWithStartPoint:(nonnull YMKPoint *)startPoint
                                     endPoint:(nonnull YMKPoint *)endPoint 

Property Detail

endPoint

(assign, readonly) YMKPoint * endPoint

End point of the segment.

startPoint

(assign, readonly) YMKPoint * startPoint

Starting point of the segment.