Returns the index of the tick mark closest to the location of the slider represented by the given point.
- macOS 10.0+
The point representing the location for which to retrieve the tick mark.
The index of the tick mark closest to the location specified by
point is not within the bounding rectangle (plus an extra pixel of space) of any tick mark, the method returns
In its implementation of this method, the receiving
NSSlider instance invokes the method of the same name of its
NSSlider instance. This method invokes
rect for each tick mark on the slider until it finds a tick mark containing the point.