---
title: lineSpacing
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/nsmutableparagraphstyle/linespacing
---

# lineSpacing

The distance in points between the bottom of one line fragment and the top of the next.

## Declaration

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

## Discussion

Discussion This value is always nonnegative. This value is included in the line fragment heights in the layout manager.

## See Also

### Setting style information

- [setParagraphStyle(_:)](uikit/nsmutableparagraphstyle/setparagraphstyle(_:).md)
- [alignment](uikit/nsmutableparagraphstyle/alignment.md)
- [firstLineHeadIndent](uikit/nsmutableparagraphstyle/firstlineheadindent.md)
- [headIndent](uikit/nsmutableparagraphstyle/headindent.md)
- [tailIndent](uikit/nsmutableparagraphstyle/tailindent.md)
- [lineHeightMultiple](uikit/nsmutableparagraphstyle/lineheightmultiple.md)
- [maximumLineHeight](uikit/nsmutableparagraphstyle/maximumlineheight.md)
- [minimumLineHeight](uikit/nsmutableparagraphstyle/minimumlineheight.md)
- [paragraphSpacing](uikit/nsmutableparagraphstyle/paragraphspacing.md)
- [paragraphSpacingBefore](uikit/nsmutableparagraphstyle/paragraphspacingbefore.md)
- [baseWritingDirection](uikit/nsmutableparagraphstyle/basewritingdirection.md)
