---
title: CTParagraphStyle
framework: coretext
role: symbol
role_heading: Class
path: coretext/ctparagraphstyle
---

# CTParagraphStyle

Paragraph or ruler attributes in an attributed string.

## Declaration

```swift
class CTParagraphStyle
```

## Overview

Overview A paragraph style object represents a complex attribute value in an attributed string, storing a number of subattributes that affect paragraph layout for the characters of the string. Among these subattributes are alignment, tab stops, writing direction, line-breaking mode, and indentation settings.

## Topics

### Creating Paragraph Styles

- [CTParagraphStyleCreate(_:_:)](coretext/ctparagraphstylecreate(_:_:).md)
- [CTParagraphStyleCreateCopy(_:)](coretext/ctparagraphstylecreatecopy(_:).md)

### Getting the Value of a Style Specifier

- [CTParagraphStyleGetValueForSpecifier(_:_:_:_:)](coretext/ctparagraphstylegetvalueforspecifier(_:_:_:_:).md)

### Getting the Type Identifier

- [CTParagraphStyleGetTypeID()](coretext/ctparagraphstylegettypeid().md)

### Data Types

- [CTParagraphStyleSetting](coretext/ctparagraphstylesetting.md)

### Constants

- [CTTextAlignment](coretext/cttextalignment.md)
- [CTLineBreakMode](coretext/ctlinebreakmode.md)
- [CTWritingDirection](coretext/ctwritingdirection.md)
- [CTParagraphStyleSpecifier](coretext/ctparagraphstylespecifier.md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)

## See Also

### Opaque Types

- [CTFont](coretext/ctfont.md)
- [CTFontCollection](coretext/ctfontcollection.md)
- [CTFontDescriptor](coretext/ctfontdescriptor.md)
- [CTFrame](coretext/ctframe.md)
- [CTFramesetter](coretext/ctframesetter.md)
- [CTGlyphInfo](coretext/ctglyphinfo.md)
- [CTLine](coretext/ctline.md)
- [CTRun](coretext/ctrun.md)
- [CTRunDelegate](coretext/ctrundelegate.md)
- [CTTextTab](coretext/cttexttab.md)
- [CTTypesetter](coretext/cttypesetter.md)
