---
title: cgPath
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsbezierpath/cgpath
---

# cgPath

## Declaration

```swift
var cgPath: CGPath { get set }
```

## See Also

### Accessing Elements of a Path

- [elementCount](appkit/nsbezierpath/elementcount.md)
- [element(at:)](appkit/nsbezierpath/element(at:).md)
- [element(at:associatedPoints:)](appkit/nsbezierpath/element(at:associatedpoints:).md)
- [removeAllPoints()](appkit/nsbezierpath/removeallpoints().md)
- [setAssociatedPoints(_:at:)](appkit/nsbezierpath/setassociatedpoints(_:at:).md)
