Contents

beginLine(withGlyphAt:)

Sets up layout parameters at the beginning of a line during typesetting.

Declaration

func beginLine(withGlyphAt glyphIndex: Int)

Parameters

  • glyphIndex:

    The index of the first glyph to be laid out in the line.

Discussion

Concrete subclass implementations of layoutParagraph(at:) should invoke this method at the beginning of each line.

See Also

Laying out a paragraph