Declaration

func hitTest(_ aPoint: NSPoint, tolerance: CGFloat) -> Bool

Declaration

- (BOOL) hitTest:(NSPoint) aPoint tolerance:(CGFloat) tolerance;

Declaration

hitTest_tolerance_(aPoint: NSPoint, tolerance: float) -> bool

Parameters

aPoint

The point in layer coordinates.

tolerance

The maximum distance from the selectable geometry.

Discussion

Concrete subclasses define their selectable geometry.

See Also

Geometry