# `NSBezierPath segmentHit(by:)`

*Instance Method*

## Declaration

```swift
func segmentHit(by point: NSPoint) -> Int
```

