---
title: lineFragmentPadding
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsatstypesetter/linefragmentpadding
---

# lineFragmentPadding

The amount (in points) by which text is inset within line fragment rectangles.

## Declaration

```swift
var lineFragmentPadding: CGFloat { get set }
```

## Discussion

Discussion Text is inset within the line fragment rectangle by this amount.

## See Also

### Getting the text container

- [currentTextContainer](appkit/nsatstypesetter/currenttextcontainer.md)
