Instance Method
node(at:excludeNode:ignoreLocked:tolerance:) nodeAtPoint:excludeNode:ignoreLocked:tolerance: nodeAtPoint_excludeNode_ignoreLocked_tolerance_
Returns the nearest node to a point, excluding one node.
Declaration
func node(at aPoint: NSPoint, excludeNode exclude: GSNode?, ignoreLocked: Bool, tolerance: CGFloat) -> GSNode?Declaration
- (GSNode *) nodeAtPoint:(NSPoint) aPoint excludeNode:(GSNode *) exclude ignoreLocked:(BOOL) ignoreLocked tolerance:(CGFloat) tolerance;Declaration
nodeAtPoint_excludeNode_ignoreLocked_tolerance_(aPoint: NSPoint, exclude: GSNode, ignoreLocked: bool, tolerance: float) -> GSNodeReturn Value
The nearest node within tolerance, or nil if no node matches.
Discussion
Locked paths and nodes are skipped when ignoreLocked is YES. The search is limited to nodes on this layer.
See Also
Node Hit Testing
Returns the nearest node to a point, excluding a set of objects.
The index path of an on-curve node near the given x position and the matched node position.
The index path of an on-curve node near the given y position and the matched node position.
See Also
Node Hit Testing
Returns the nearest node to a point, excluding a set of objects.
Returns the index path of an on-curve node near the given x position.
Returns the index path of an on-curve node near the given y position.