Declaration

func connectPaths(with moveNode: GSNode, andNode overNode: GSNode) -> GSNode?

Declaration

- (GSNode *) connectPathsWithNode:(GSNode *) moveNode andNode:(GSNode *) overNode;

Declaration

connectPathsWithNode_andNode_(moveNode: GSNode, overNode: GSNode) -> GSNode

Return Value

The surviving node at the connection, or nil when the nodes cannot be connected.

Discussion

Endpoints on different open paths join the paths. Endpoints on the same open path close it.

See Also

Connecting Paths