Instance Method
previousOncurve()previousOncurveNodepreviousOncurveNode
The previous on-curve node in the path.
Declaration
func previousOncurve() -> GSNode?Declaration
- (GSNode *) previousOncurveNode;Declaration
previousOncurveNode() -> GSNodeDiscussion
For a closed path, navigation wraps around the path. For an open path, this is nil when no previous on-curve node exists. For a path consisting solely off-curve nodes, returns nil.
See also previousOncurveNode(from:)previousOncurveNodeFromIndex:previousOncurveNodeFromIndex_.
See Also
Path Navigation
The index of the node in its path, or
nilwhen the node is not in a path.The next on-curve node in the path.
See Also
Path Navigation
The index of the node in its path.
The next on-curve node in the path.