Declaration

func previousOncurve() -> GSNode?

Declaration

- (GSNode *) previousOncurveNode;

Declaration

previousOncurveNode() -> GSNode

Discussion

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 nil when the node is not in a path.

  • The next on-curve node in the path.

See Also

Path Navigation