---
title: endParagraph()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nstypesetter/endparagraph()
---

# endParagraph()

Sets up layout parameters at the end of a paragraph.

## Declaration

```swift
func endParagraph()
```

## Discussion

Discussion Concrete subclasses should invoke this method at the end of their layoutParagraph(at:) implementation.

## See Also

### Laying out a paragraph

- [layoutParagraph(at:)](appkit/nstypesetter/layoutparagraph(at:).md)
- [beginParagraph()](appkit/nstypesetter/beginparagraph().md)
- [beginLine(withGlyphAt:)](appkit/nstypesetter/beginline(withglyphat:).md)
- [endLine(withGlyphRange:)](appkit/nstypesetter/endline(withglyphrange:).md)
