NSTextLayoutFragment
A class that represents the layout fragment typically corresponding to a rendering surface, such as a layer or view subclass.
Declaration
class NSTextLayoutFragmentTopics
Creating a layout fragment
Getting line fragments
textLineFragmentsNSTextLayoutFragment.EnumerationOptionstextLineFragment(for:isUpstreamAffinity:)textLineFragment(forVerticalOffset:requiresExactMatch:)
Getting element information
Accessing the layout manager
Drawing the fragment and attachments
layoutFragmentFramerenderingSurfaceBoundsdraw(at:in:)invalidateLayout()textAttachmentViewProvidersframeForTextAttachment(at:)