# `GSPenProtocol curveTo:off1:off2:connection:selected:`

*Instance Method*

## Declaration

```swift
optional func curve(to pt: NSPoint, off1: NSPoint, off2: NSPoint, connection: GSNode.Connection, selected: Bool)
```

```objc
- (void) curveTo:(NSPoint) pt off1:(NSPoint) off1 off2:(NSPoint) off2 connection:(GSNodeConnection) connection selected:(BOOL) selected;
```

```python
curveTo_off1_off2_connection_selected_(pt: NSPoint, off1: NSPoint, off2: NSPoint, connection: GSNodeConnection, selected: bool)
```

