# `GlyphsPathPlugin drawHandle:atIndex:isSelected:atPoint:simple:`

*Instance Method*

Draws a node

## Declaration

```swift
func drawHandle(_ path: GSPath, at idx: UInt, isSelected selected: Bool, at layerOrigin: NSPoint, simple: Bool)
```

```objc
- (void) drawHandle:(GSPath *) path atIndex:(NSUInteger) idx isSelected:(BOOL) selected atPoint:(NSPoint) layerOrigin simple:(BOOL) simple;
```

```python
drawHandle_atIndex_isSelected_atPoint_simple_(path: GSPath, idx: int, selected: bool, layerOrigin: NSPoint, simple: bool)
```

## Parameters

- `path` — The path that contains the node
- `idx` — The index of the node
- `selected` — If the node is selected or not
- `layerOrigin` — The origin point of the current layer

