Instance Method
indexPathOfNodeAtX:actualPosition: indexPathOfNodeAtX:actualPosition: indexPathOfNodeAtX_actualPosition_
Returns the index path of an on-curve node near the given x position.
Not available in Swift.
Declaration
- (NSIndexPath *) indexPathOfNodeAtX:(CGFloat) X actualPosition:(NSPoint *) pos;Declaration
indexPathOfNodeAtX_actualPosition_(X: float, pos: NSPoint) -> NSIndexPathReturn Value
The node index path, or nil if no matching node or hint position is found.
Discussion
The actual matched position is written to pos when provided.
See Also
Node Hit Testing
Returns the nearest node to a point, excluding one node.
Returns the nearest node to a point, excluding a set of objects.
Returns the index path of an on-curve node near the given y position.