---
title: beginParagraph()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nstypesetter/beginparagraph()
---

# beginParagraph()

Sets up layout parameters at the beginning of a paragraph.

## Declaration

```swift
func beginParagraph()
```

## Discussion

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

## See Also

### Laying out a paragraph

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