Instance Method
segment(at:)segmentAtIndexPath:segmentAtIndexPath_
Returns the segment at an index path.
Declaration
func segment(at indexPath: IndexPath) -> GSPathSegment?Declaration
- (GSPathSegment *) segmentAtIndexPath:(NSIndexPath *) indexPath;Declaration
segmentAtIndexPath_(indexPath: NSIndexPath) -> GSPathSegmentDiscussion
The first index is the linear path index and the last index is the segment node index in that path. Returns nil if the first index does not refer to a path.
See Also
Segments
The path segments from all path shapes in linear shape order.