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

*Instance Method*

## Declaration

```swift
optional func curve(to pt: NSPoint, off1: NSPoint, off2: NSPoint, connection: GSNode.Connection, selected: Bool, attributes: [AnyHashable : Any]! = [:])
```

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

```python
curveTo_off1_off2_connection_selected_attributes_(pt: NSPoint, off1: NSPoint, off2: NSPoint, connection: GSNodeConnection, selected: bool, attributes: dict)
```

