---
title: alignment
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsmutableparagraphstyle/alignment
---

# alignment

The text alignment of the paragraph.

## Declaration

```swift
var alignment: NSTextAlignment { get set }
```

## Discussion

Discussion Natural text alignment is realized as left or right alignment depending on the line sweep direction of the first script contained in the paragraph.

## See Also

### Setting style information

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