@class NSTextStorage, NSTextElement, _NSTextAttachmentLayoutContext, NSDictionary, _NSTextAttributeStorage, NSTextRange, NSLayoutManager, NSString, NSSet, NSTextLayoutManager, NSOperationQueue, NSArray, NSTextParagraph; @protocol NSTextLocation; @interface NSTextLayoutFragment : NSObject <NSCoreTypesetterDelegateInternal, __NSTextRunStorageDataSource, NSSecureCoding> { NSTextLayoutManager *_textLayoutManager; NSTextElement *_textElement; NSTextRange *_rangeInElement; NSTextRange *_contentRange; _NSTextAttributeStorage *_renderingAttributesTable; long long _offsetFromElementLocation; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _layoutFragmentFrame; struct CGPoint { double x; double y; } _layoutPoint; BOOL _isTextParagraph; struct _NSRange { unsigned long long location; unsigned long long length; } _characterRange; unsigned long long _sourceVerticalDelta; unsigned long long _sourceRangeDelta; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _sourceBoundingRect; struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } _destinationBoundingRect; unsigned long long _animationType; NSLayoutManager *_destinationLayoutManager; NSTextStorage *_destinationTextStorage; double _destinationVerticalDelta; struct _NSRange { unsigned long long location; unsigned long long length; } _destinationGlyphRange; NSLayoutManager *_layoutManager; } @property (class, readonly) NSSet *_validCoreTextRenderingAttributes; @property (class, readonly) BOOL supportsSecureCoding; @property NSLayoutManager *destinationLayoutManager; @property (retain) NSTextStorage *destinationTextStorage; @property double destinationVerticalDelta; @property struct _NSRange { unsigned long long x0; unsigned long long x1; } destinationGlyphRange; @property struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } destinationBoundingRect; @property (copy) NSArray *textLineFragments; @property unsigned long long state; @property struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } layoutFragmentFrame; @property (getter=_isRenderingAttributesValidated) BOOL _renderingAttributesValidated; @property BOOL rendersTextCorrectionMarkers; @property (readonly) NSTextParagraph *textParagraph; @property (retain) _NSTextAttachmentLayoutContext *textAttachmentLayoutContext; @property BOOL hasPartialLayout; @property (copy) NSDictionary *extraLineFragmentAttributes; @property (readonly, weak) NSTextLayoutManager *textLayoutManager; @property (readonly, weak) NSTextElement *textElement; @property (readonly) NSTextRange *rangeInElement; @property (retain) NSOperationQueue *layoutQueue; @property (readonly) struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } renderingSurfaceBounds; @property (readonly) double leadingPadding; @property (readonly) double trailingPadding; @property (readonly) double topMargin; @property (readonly) double bottomMargin; @property (readonly, copy) NSArray *textAttachmentViewProviders; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (readonly, getter=isCountableDataSource) BOOL countableDataSource; @property (readonly) id<NSTextLocation> baseLocation; + (BOOL)coordinateSystemCompatibilityFor2022AndEarlierSDKEnabled; + (id)layoutFragmentQueue; - (unsigned long long)animationType; - (struct CGSize { double x0; double x1; })layoutSize; - (void)_layout; - (id)layoutManager; - (void)invalidateRenderingAttributesForTextRange:(id)a0; - (void)setTextElement:(id)a0; - (id)init; - (void)drawAtPoint:(struct CGPoint { double x0; double x1; })a0 context:(struct CGContext { } *)a1; - (void)dealloc; - (struct CGPoint { double x0; double x1; })layoutPoint; - (void)setDestinationBoundingRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (void)_setup; - (id)textLineFragmentForTextLocation:(id)a0 isUpstreamAffinity:(BOOL)a1; - (void)enumerateRenderingAttributesFromLocation:(id)a0 reverse:(BOOL)a1 usingBlock:(id /* block */)a2; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })sourceBoundingRect; - (void)layoutManagerDidSetTemporaryAttributes:(id)a0 forTextRange:(id)a1; - (BOOL)supportsSubelements; - (void)encodeWithCoder:(id)a0; - (id)textElement; - (id)representedRangeAtPoint:(struct CGPoint { double x0; double x1; })a0; - (void)setRenderingAttributes:(id)a0 forTextRange:(id)a1; - (void)addRenderingAttribute:(id)a0 value:(id)a1 forTextRange:(id)a2; - (id)initWithTextElement:(id)a0 range:(id)a1; - (id)textLineFragmentForVerticalOffset:(double)a0 requiresExactMatch:(BOOL)a1; - (id)_layoutInfoForTextAttachmentAtLocation:(id)a0; - (id)textLayoutManager; - (void)drawAtPoint:(struct CGPoint { double x0; double x1; })a0 contentType:(unsigned long long)a1; - (void)setTextLayoutManager:(id)a0; - (void)enumerateViewportElementsFromLocation:(id)a0 options:(long long)a1 usingBlock:(id /* block */)a2; - (void)setLayoutPoint:(struct CGPoint { double x0; double x1; })a0; - (void)estimateSize; - (long long)_baseWritingDirection; - (void)removeRenderingAttribute:(id)a0 forTextRange:(id)a1; - (void)setRenderingAttribute:(id)a0 value:(id)a1 forTextRange:(id)a2; - (id)rangeInElement; - (id)representedRange; - (void)setTextAttachmentProvider:(id)a0 forLocation:(id)a1; - (id)textAttachmentViewProviderForLocation:(id)a0; - (void)_setupResolvedTextAttachmentFrames; - (id)_coreTextAttributes; - (BOOL)_updateRangeInElement; - (id)_textAttributesAffectingLayout; - (void)drawAtPoint:(struct CGPoint { double x0; double x1; })a0 inContext:(struct CGContext { } *)a1; - (void).cxx_destruct; - (id)textParagraph; - (id)initWithLayoutManager:(id)a0 characterRange:(struct _NSRange { unsigned long long x0; unsigned long long x1; })a1 animationType:(unsigned long long)a2 boundingRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a3; - (id)_textContainerAtStringIndex:(long long)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })coreTypesetter:(id)a0 lineFragmentRectForProposedRect:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1 atIndex:(long long)a2 writingDirection:(long long)a3 remainingRect:(out struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } *)a4; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })destinationBoundingRect; - (void)layout; - (void)setLayoutFragmentFrameOrigin:(struct CGPoint { double x0; double x1; })a0; - (struct CGPoint { double x0; double x1; })layoutFragmentFrameOrigin; - (id)locationFromLocation:(id)a0 withOffset:(long long)a1; - (id)textLineFragmentForVerticalOffset:(double)a0 allowsSucceeding:(BOOL)a1; - (id)_resolvedRenderingAttributesForCharacterIndex:(long long)a0 effectiveRange:(out struct _NSRange { unsigned long long x0; unsigned long long x1; } *)a1; - (void)_setRangeInElement:(id)a0; - (void)invalidateLayout; - (long long)offsetFromLocation:(id)a0 toLocation:(id)a1; - (double)verticalOffsetOfTextLocation:(id)a0 withAffinity:(long long)a1; - (id)initWithCoder:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })frameForTextAttachmentAtLocation:(id)a0; - (struct _NSRange { unsigned long long x0; unsigned long long x1; })characterRange; - (BOOL)coreTypesetter:(id)a0 isSimpleRectangularTextContainerForStartingCharacterAtIndex:(long long)a1; @end