<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSTypesetter/lineFragmentPadding",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSTypesetter(py)lineFragmentPadding"
  },
  "title" : "lineFragmentPadding"
}
-->

# lineFragmentPadding

Returns the current line fragment padding, in points.

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

## Return Value

The current line fragment padding, in points; that is, the portion on each end of the line fragment rectangle left blank.

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)