Declaration

- (GSPathSegment *) segmentAtNodeIndex:(NSInteger) idx segmentStartIndex:(NSInteger *) segmentStartIdx segmentEndIndex:(NSInteger *) segmentEndIdx;

Declaration

segmentAtNodeIndex_segmentStartIndex_segmentEndIndex_(idx: int, segmentStartIdx: int, segmentEndIdx: int) -> GSPathSegment

Parameters

segmentStartIdx

On return, the index of the first node in the segment.

segmentEndIdx

On return, the index of the ending on-curve node.

Discussion

Off-curve node indices resolve to the following on-curve node.

Returns nil when no segment can be resolved for the index.

See Also

Segments