truncatedGlyphRange(inLineFragmentForGlyphAt:)
Returns the range of truncated glyphs for a line fragment that contains the specified index.
Declaration
func truncatedGlyphRange(inLineFragmentForGlyphAt glyphIndex: Int) -> NSRangeParameters
- 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
attachmentSize(forGlyphAt:)drawsOutsideLineFragment(forGlyphAt:)extraLineFragmentRectextraLineFragmentTextContainerextraLineFragmentUsedRectfirstUnlaidCharacterIndex()firstUnlaidGlyphIndex()getFirstUnlaidCharacterIndex(_:glyphIndex:)lineFragmentRect(forGlyphAt:effectiveRange:)lineFragmentRect(forGlyphAt:effectiveRange:withoutAdditionalLayout:)lineFragmentUsedRect(forGlyphAt:effectiveRange:)lineFragmentUsedRect(forGlyphAt:effectiveRange:withoutAdditionalLayout:)location(forGlyphAt:)notShownAttribute(forGlyphAt:)