Contents

truncatedGlyphRange(inLineFragmentForGlyphAt:)

Returns the range of truncated glyphs for a line fragment that contains the specified index.

Declaration

func truncatedGlyphRange(inLineFragmentForGlyphAt glyphIndex: Int) -> NSRange

Parameters

  • glyphIndex:

    A glyph whose line fragment is tested.

Return Value

The range of truncated glyphs for a line fragment containing the specified glyph, or, when there is no truncation for the line fragment, {NSNotFound, 0}.

See Also

Getting layout information