---
title: NSLineSweepDirection
framework: appkit
role: symbol
role_heading: Enumeration
path: appkit/nslinesweepdirection
---

# NSLineSweepDirection

Values that describe the progression of text on a page.

## Declaration

```occ
enum NSLineSweepDirection : NSUInteger;
```

## Overview

Overview The typesetter decides which way text should flow and passes these values as arguments to the text container, which uses them to calculate the next line rectangle. Line sweep is the direction text progresses within a line. For information on line movement direction, see NSLineMovementDirection. The only values currently used by the supplied typesetters are NSLineSweepRight and NSLineMovesDown. An NSTextContainer subclass should be able to deal with any value, and an NSTypesetter subclass should be able to use any of them.

## Topics

### Constants

- [NSLineSweepLeft](appkit/nslinesweepdirection/nslinesweepleft.md)
- [NSLineSweepRight](appkit/nslinesweepdirection/nslinesweepright.md)
- [NSLineSweepDown](appkit/nslinesweepdirection/nslinesweepdown.md)
- [NSLineSweepUp](appkit/nslinesweepdirection/nslinesweepup.md)

## See Also

### TextKit 1

- [NSTextStorage](appkit/nstextstorage.md)
- [NSLayoutManager](appkit/nslayoutmanager.md)
- [NSATSTypesetter](appkit/nsatstypesetter.md)
- [NSTypesetter](appkit/nstypesetter.md)
- [NSLineMovementDirection](appkit/nslinemovementdirection.md)
