Instance Method
indexPath(of:)indexPathOfNode:indexPathOfNode_
Returns the index path of a node in this layer.
Declaration
func indexPath(of node: GSNode) -> IndexPath?Declaration
- (NSIndexPath *) indexPathOfNode:(GSNode *) node;Declaration
indexPathOfNode_(node: GSNode) -> NSIndexPathDiscussion
The first index is the linear path index and the second index is the node index in that path. Returns nil when the node does not belong to this layer.
See Also
Nodes
All nodes from all path shapes in linear shape order.
The number of nodes in all path shapes.
Returns the node at an index path.
The selected node when exactly one node is selected.
The selected nodes in path order.