Instance Method
indexPathOfNodeAtY:actualPosition: indexPathOfNodeAtY:actualPosition: indexPathOfNodeAtY_actualPosition_
Returns the index path of an on-curve node near the given y position.
Not available in Swift.
Declaration
- (NSIndexPath *) indexPathOfNodeAtY:(CGFloat) Y actualPosition:(NSPoint *) pos;Declaration
indexPathOfNodeAtY_actualPosition_(Y: 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 x position.