---
title: "CTFrameGetPath(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctframegetpath(_:)"
---

# CTFrameGetPath(_:)

Returns the path used to create the frame.

## Declaration

```swift
func CTFrameGetPath(_ frame: CTFrame) -> CGPath
```

## Parameters

- `frame`: The frame whose path is returned.

## See Also

### Getting Frame Data

- [CTFrameGetStringRange(_:)](coretext/ctframegetstringrange(_:).md)
- [CTFrameGetVisibleStringRange(_:)](coretext/ctframegetvisiblestringrange(_:).md)
- [CTFrameGetFrameAttributes(_:)](coretext/ctframegetframeattributes(_:).md)
