Contents

NSLineSweepDirection

Values that describe the progression of text on a page.

Declaration

enum NSLineSweepDirection : NSUInteger;

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. See Text System Storage Layer Overview.

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

See Also

TextKit 1