extraLineFragmentRect
The rectangle for the extra line fragment at the end of a document.
Declaration
var extraLineFragmentRect: NSRect { get }Discussion
The layout manager uses the extra line fragment when the last character in a document causes a line or paragraph break. This extra line fragment has no corresponding glyph.
The rectangle is defined in the coordinate system of its NSTextContainer. NSZeroRect if there is no such rectangle.
See Also
Getting layout information
attachmentSize(forGlyphAt:)drawsOutsideLineFragment(forGlyphAt:)extraLineFragmentTextContainerextraLineFragmentUsedRectfirstUnlaidCharacterIndex()firstUnlaidGlyphIndex()getFirstUnlaidCharacterIndex(_:glyphIndex:)lineFragmentRect(forGlyphAt:effectiveRange:)lineFragmentRect(forGlyphAt:effectiveRange:withoutAdditionalLayout:)lineFragmentUsedRect(forGlyphAt:effectiveRange:)lineFragmentUsedRect(forGlyphAt:effectiveRange:withoutAdditionalLayout:)location(forGlyphAt:)notShownAttribute(forGlyphAt:)truncatedGlyphRange(inLineFragmentForGlyphAt:)