---
title: extraLineFragmentUsedRect
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nslayoutmanager/extralinefragmentusedrect
---

# extraLineFragmentUsedRect

The rectangle that encloses the insertion point in the extra line fragment rectangle.

## Declaration

```swift
var extraLineFragmentUsedRect: NSRect { get }
```

## Discussion

Discussion The rectangle is defined in the coordinate system of its NSTextContainer. NSZeroRect if there is no extra line fragment rectangle. The extra line fragment used rectangle is twice as wide (or tall) as the text container’s line fragment padding, with the insertion point itself in the middle.

## See Also

### Getting layout information

- [attachmentSize(forGlyphAt:)](appkit/nslayoutmanager/attachmentsize(forglyphat:).md)
- [drawsOutsideLineFragment(forGlyphAt:)](appkit/nslayoutmanager/drawsoutsidelinefragment(forglyphat:).md)
- [extraLineFragmentRect](appkit/nslayoutmanager/extralinefragmentrect.md)
- [extraLineFragmentTextContainer](appkit/nslayoutmanager/extralinefragmenttextcontainer.md)
- [firstUnlaidCharacterIndex()](appkit/nslayoutmanager/firstunlaidcharacterindex().md)
- [firstUnlaidGlyphIndex()](appkit/nslayoutmanager/firstunlaidglyphindex().md)
- [getFirstUnlaidCharacterIndex(_:glyphIndex:)](appkit/nslayoutmanager/getfirstunlaidcharacterindex(_:glyphindex:).md)
- [lineFragmentRect(forGlyphAt:effectiveRange:)](appkit/nslayoutmanager/linefragmentrect(forglyphat:effectiverange:).md)
- [lineFragmentRect(forGlyphAt:effectiveRange:withoutAdditionalLayout:)](appkit/nslayoutmanager/linefragmentrect(forglyphat:effectiverange:withoutadditionallayout:).md)
- [lineFragmentUsedRect(forGlyphAt:effectiveRange:)](appkit/nslayoutmanager/linefragmentusedrect(forglyphat:effectiverange:).md)
- [lineFragmentUsedRect(forGlyphAt:effectiveRange:withoutAdditionalLayout:)](appkit/nslayoutmanager/linefragmentusedrect(forglyphat:effectiverange:withoutadditionallayout:).md)
- [location(forGlyphAt:)](appkit/nslayoutmanager/location(forglyphat:).md)
- [notShownAttribute(forGlyphAt:)](appkit/nslayoutmanager/notshownattribute(forglyphat:).md)
- [truncatedGlyphRange(inLineFragmentForGlyphAt:)](appkit/nslayoutmanager/truncatedglyphrange(inlinefragmentforglyphat:).md)
