The rectangle enclosing the insertion point drawn in the extra line fragment rectangle.
SDKs
- iOS 7.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Frameworks
- UIKit
- App
Kit
Declaration
var extraLineFragmentUsedRect: CGRect { get }
var extraLineFragmentUsedRect: NSRect { get }
Discussion
The rectangle is defined in the coordinate system of its NSText
. NSZero
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.