Instance Method
segmentAtNodeIndex:segmentStartIndex:segmentEndIndex: segmentAtNodeIndex:segmentStartIndex:segmentEndIndex: segmentAtNodeIndex_segmentStartIndex_segmentEndIndex_
The segment associated with a node index and the node index range it covers.
Not available in Swift.
Declaration
- (GSPathSegment *) segmentAtNodeIndex:(NSInteger) idx segmentStartIndex:(NSInteger *) segmentStartIdx segmentEndIndex:(NSInteger *) segmentEndIdx;Declaration
segmentAtNodeIndex_segmentStartIndex_segmentEndIndex_(idx: int, segmentStartIdx: int, segmentEndIdx: int) -> GSPathSegmentParameters
segmentStartIdxOn return, the index of the first node in the segment.
segmentEndIdxOn 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
The path represented as path segments.
The path represented as path segments without collecting path object information.
The segment associated with a node index.