# `GSPathSegment setPoint:atIndex:`

*Instance Method*

## Declaration

```swift
func setPoint(_ p: NSPoint, at idx: UInt)
```

```objc
- (void) setPoint:(NSPoint) p atIndex:(NSUInteger) idx;
```

```python
setPoint_atIndex_(p: NSPoint, idx: int)
```

