@class PKLinedPaperLayer, UILongPressGestureRecognizer, UITapGestureRecognizer, UIView, PKTextAttachmentDrawingViewTouchRecognizer, NSTextAttachment, NSString, UIScrollView, UIPanGestureRecognizer, PKTextAttachmentResizeView; @interface PKTextAttachmentDrawingView : _UITextAttachmentDrawingView <PKTextAttachmentDrawingViewProviderView, PKTextAttachmentView, UIGestureRecognizerDelegate, PKTextAttachmentResizeViewDelegate, PKLinedPaperLayerDelegate, UIPointerInteractionDelegate, UIScrollViewDelegate> { UIScrollView *_tileMaskView; struct CGAffineTransform { double a; double b; double c; double d; double tx; double ty; } _cachedDrawingTransform; double _cachedDrawingTransformBoundsWidth; } @property (retain, nonatomic) PKTextAttachmentResizeView *topResizeView; @property (retain, nonatomic) PKTextAttachmentResizeView *bottomResizeView; @property (retain, nonatomic) PKLinedPaperLayer *linesLayer; @property (retain, nonatomic) PKTextAttachmentDrawingViewTouchRecognizer *resizeHighlightGestureRecognizer; @property (retain, nonatomic) UIPanGestureRecognizer *resizeDragGestureRecognizer; @property (retain, nonatomic) UITapGestureRecognizer *eatKeyboardGestureRecognizer; @property (retain, nonatomic) UITapGestureRecognizer *tapBelowDrawingGestureRecognizer; @property (retain, nonatomic) UITapGestureRecognizer *showMenuGestureRecognizer; @property (retain, nonatomic) UILongPressGestureRecognizer *hideMenuGestureRecognizer; @property (nonatomic) BOOL resizeUpper; @property (nonatomic) BOOL inserted; @property (nonatomic) BOOL zoomingProgramatically; @property (nonatomic) struct CGPoint { double x; double y; } zoomStartLocationInWindow; @property (nonatomic) struct CGPoint { double x; double y; } zoomStartLocationInAttachment; @property (nonatomic) struct CGPoint { double x; double y; } textViewContentOffsetStartLocation; @property (nonatomic) double zoomStartScale; @property (nonatomic) BOOL isLiveResizing; @property (nonatomic) struct CGRect { struct CGPoint { double x; double y; } origin; struct CGSize { double width; double height; } size; } liveResizeAttachmentBounds; @property (readonly, nonatomic) struct CGSize { double x0; double x1; } drawingVisibleSize; @property (readonly, nonatomic) double drawingAspectRatio; @property (readonly, nonatomic) UIView *tileScaleView; @property (weak, nonatomic) NSTextAttachment *textAttachment; @property (readonly, nonatomic) BOOL isAtBeginningOfDocument; @property (nonatomic) double zoomScale; @property (nonatomic) struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; } drawingCanvasBounds; @property (readonly, nonatomic) long long _characterIndex; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; @property (readonly, nonatomic) struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } drawingTransform; - (void)willMoveToSuperview:(id)a0; - (void)scrollViewWillBeginZooming:(id)a0 withView:(id)a1; - (void)cut:(id)a0; - (void)scrollViewDidEndZooming:(id)a0 withView:(id)a1 atScale:(double)a2; - (void)selectAll:(id)a0; - (void)menuDidHide:(id)a0; - (void)dealloc; - (BOOL)gestureRecognizer:(id)a0 shouldReceiveTouch:(id)a1; - (void)_share:(id)a0; - (void)scrollViewDidZoom:(id)a0; - (id)viewForZoomingInScrollView:(id)a0; - (BOOL)resignFirstResponder; - (void)_sceneDidActivate:(id)a0; - (void)copy:(id)a0; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (id)_textView; - (void)didMoveToSuperview; - (BOOL)gestureRecognizerShouldBegin:(id)a0; - (id)keyCommands; - (void)setHidden:(BOOL)a0; - (id)pointerInteraction:(id)a0 regionForRequest:(id)a1 defaultRegion:(id)a2; - (void)handleDoubleTap:(id)a0; - (BOOL)canBecomeFirstResponder; - (void).cxx_destruct; - (void)setContentHidden:(BOOL)a0; - (BOOL)becomeFirstResponder; - (void)layoutSubviews; - (BOOL)gestureRecognizer:(id)a0 shouldRequireFailureOfGestureRecognizer:(id)a1; - (id)initWithCoder:(id)a0; - (void)didMoveToWindow; - (BOOL)canResignFirstResponder; - (BOOL)gestureRecognizer:(id)a0 shouldRecognizeSimultaneouslyWithGestureRecognizer:(id)a1; - (BOOL)canPerformAction:(SEL)a0 withSender:(id)a1; - (void)paste:(id)a0; - (void)delete:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })drawingBounds; - (BOOL)gestureRecognizerShouldDelayLift:(id)a0; - (void)drawingDataDidChange:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })drawingTextAttachmentBounds; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })drawingTextAttachmentBoundsForContainerView:(id)a0; - (id)initWithAttachment:(id)a0 drawingClass:(Class)a1 inserted:(BOOL)a2; - (void)resetZoom; - (void)setAttachmentChromeVisible:(BOOL)a0 animated:(BOOL)a1 highlightBackground:(BOOL)a2; - (id)tiledViewAttachmentViews; - (id)topLevelAttachmentView; - (void)drawingDidChangeVisibleStrokes:(BOOL)a0; - (void)higlightResize:(id)a0; - (void)layoutTileViews; - (id)linedPaperLayerTraitCollection:(id)a0; - (void)beginLiveResize; - (void)didBeginDrawing; - (BOOL)hitTestResizeHandles:(struct CGPoint { double x0; double x1; })a0 threshold:(double)a1; - (void)_adjustResizeIndicatorVisibility; - (void)_adjustResizeIndicatorVisibility:(BOOL)a0 highlightBackground:(BOOL)a1; - (void)_adjustResizeIndicatorVisibilityNotification; - (id)_drawingGestureRecognizer; - (void)_noOpForGesture:(id)a0; - (void)_setAdjustResizeIndicatorVisible:(BOOL)a0 animated:(BOOL)a1 highlightBackground:(BOOL)a2; - (void)_setHeight:(double)a0 originalHeight:(double)a1 growFromTop:(BOOL)a2; - (void)_triggerRedraw; - (void)_updateAfterBackgroundSnapshotting:(id)a0; - (void)_updateAttachmentBoundsEnsureLayout:(BOOL)a0; - (void)_updateResizeTouchInsetsFingerDrawingEnabled:(BOOL)a0; - (void)_updateViewHeightIfNecessary; - (double)canvasHeightFromDrawingViewHeight:(double)a0; - (double)canvasHeightFromDrawingViewHeight:(double)a0 drawingViewWidth:(double)a1; - (void)cleanupViewProviders; - (void)copyStrokeSelection:(id)a0; - (void)cutStrokeSelection:(id)a0; - (id)dataForTextAttachment:(id)a0; - (void)deleteStrokeSelection:(id)a0; - (double)desiredAttachmentViewWidthForContainerView:(id)a0; - (struct CGSize { double x0; double x1; })desiredTextAttachmentSizeForContainerView:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })drawingBoundsForViewWidth:(double)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })drawingContentBounds; - (void)drawingDidEraseStrokes:(id)a0; - (id)drawingForTextAttachment:(id)a0 drawingClass:(Class)a1; - (double)drawingScaleForViewWidth:(double)a0; - (struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; })drawingTransformForViewWidth:(double)a0; - (void)endLiveResize; - (void)fingerDrawingEnabledDidChange; - (double)heightFromDrawing:(id)a0 delta:(double)a1; - (void)hideDrawingMenu:(id)a0; - (BOOL)hitByTouchLocation:(struct CGPoint { double x0; double x1; })a0 bounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1; - (BOOL)hitChrome:(struct CGPoint { double x0; double x1; })a0 isStylus:(BOOL)a1; - (id)initWithDrawingClass:(Class)a0; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 drawing:(id)a1; - (void)insertSpace:(id)a0; - (BOOL)isAtEndOfDocument; - (id)linedPaperLayerAttachmentContainerView:(id)a0; - (id)linedPaperLayerLinedPaper:(id)a0; - (void)pixelAlignForContentScale:(double)a0 enclosingScrollView:(id)a1; - (void)resizeDrawing:(id)a0; - (void)resizeView:(id)a0 finishedWithOriginalDrawingBounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1 originalViewBounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a2; - (void)resizeView:(id)a0 setDrawingHeight:(double)a1 originalHeight:(double)a2 growFromTop:(BOOL)a3; - (void)resizeViewDidUpdate:(id)a0; - (struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })resizeViewDrawingBounds:(id)a0; - (void)resizeViewLayoutAttachment:(id)a0; - (void)resizeViewRemoveAttachment:(id)a0; - (id)resizeViewTextView:(id)a0; - (void)scaleDrawing:(double)a0; - (void)scaleDrawing:(double)a0 withOffset:(struct CGPoint { double x0; double x1; })a1 animated:(BOOL)a2; - (void)showDrawingMenu:(id)a0; - (void)tapBelowDrawingGesture:(id)a0; - (id)tileMaskView; - (id)tiledView; - (void)toolPickerDidHide; - (void)toolPickerDidShow; - (void)updateDrawingHeight:(double)a0; - (void)updateDrawingHeight:(double)a0 notifyDrawingDidChange:(BOOL)a1; - (void)updateFrameForTextContainer; - (void)updateTileContainerViewFrame; @end