# `GSCoreGraphicsPen.CGPath`

*Instance Property*

Getting the `CGPath` property returns a copied, retained `CGPathRef`.

## Declaration

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

```objc
@property (nonatomic, readonly) CGPathRef CGPath;
```

```python
CGPath() -> CGPathRef
```

## Discussion

The `CGPathRef` will only match the `GSCoreGraphicsPen` until the `GSCoreGraphicsPen` is mutated.

