Instance Method
makeNodeFirst(_:)makeNodeFirst:makeNodeFirst_
Makes a node the start node of the path.
Declaration
func makeNodeFirst(_ node: GSNode)Declaration
- (void) makeNodeFirst:(GSNode *) node;Declaration
makeNodeFirst_(node: GSNode)Discussion
The start node of a closed path is the final node in nodes. For open paths, this method is only effective for the end node, reversing the path direction.
See Also
Node Navigation
The node at an index.
The index of a node, or
nilwhen the node is not in the path.An index from which every segment can be traversed in node order.
The next on-curve node after an index.
The previous on-curve node before an index.
For open paths, returns the first node of the path, otherwise
nil.For open paths, returns the last node of the path, otherwise
nil.The node used to begin traversing a closed path, or
nilfor an open path.The lowest on-curve node, preferring the leftmost node at equal height.
Moves trailing off-curve nodes to the beginning of a closed path.
The index preceding the first on-curve node for TrueType path traversal.
See Also
Node Navigation
The node at an index.
The index of a node, or
NSNotFoundwhen the node is not in the path.An index from which every segment can be traversed in node order.
The next on-curve node after an index.
The previous on-curve node before an index.
For open paths, returns the first node of the path, otherwise
nil.For open paths, returns the last node of the path, otherwise
nil.The node used to begin traversing a closed path, or
nilfor an open path.The lowest on-curve node, preferring the leftmost node at equal height.
Moves trailing off-curve nodes to the beginning of a closed path.
The index preceding the first on-curve node for TrueType path traversal.