Instance Method
segmentAndNodeRange(atNodeIndex:)
The segment associated with a node index and the node index range it covers.
Not available in Objective-C.Not available in Python.
Declaration
func segmentAndNodeRange(atNodeIndex nodeIndex: Int) -> (segment: GSPathSegment, nodeRange: ClosedRange<Int>)?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.