---
title: "CTLineGetGlyphRuns(_:)"
framework: coretext
role: symbol
role_heading: Function
path: "coretext/ctlinegetglyphruns(_:)"
---

# CTLineGetGlyphRuns(_:)

Returns the array of glyph runs that make up the line object.

## Declaration

```swift
func CTLineGetGlyphRuns(_ line: CTLine) -> CFArray
```

## Parameters

- `line`: The line whose glyph run array is returned.

## Return Value

Return Value A CFArray containing the CTRun objects that make up the line.

## See Also

### Getting Line Data

- [CTLineGetGlyphCount(_:)](coretext/ctlinegetglyphcount(_:).md)
- [CTLineGetStringRange(_:)](coretext/ctlinegetstringrange(_:).md)
- [CTLineGetPenOffsetForFlush(_:_:_:)](coretext/ctlinegetpenoffsetforflush(_:_:_:).md)
