@class NSHashTable, UIView, PKInk, PKTool, PKDrawing, NSString, UIScrollView, UIHoverGestureRecognizer, PKTiledView, PKCanvasAttachmentView, UIGestureRecognizer; @protocol PKRulerHostingDelegate, PKCanvasViewDelegate, UICoordinateSpace; @interface PKCanvasView : UIScrollView <PKSelectionInteractionDelegate, PKTiledViewDelegate, PKRulerHostingDelegate, PKToolPickerObserverPrivate, PKToolPickerObserver> { PKTiledView *_tiledView; PKCanvasAttachmentView *_pageView; UIScrollView *_fixedPixelSizeScrollView; UIView *_fixedPixelSizeScrollViewWrapper; struct { unsigned char delegateCanvasViewDrawingDidChange : 1; unsigned char delegateCanvasViewDidFinishRendering : 1; unsigned char delegateCanvasViewDidBeginDrawing : 1; unsigned char delegateCanvasViewDidEndDrawing : 1; unsigned char delegateCanvasViewDidBeginUsingTool : 1; unsigned char delegateCanvasViewDidEndUsingTool : 1; unsigned char delegateCanvasViewBeganStroke : 1; unsigned char delegateCanvasViewUpdatedStroke : 1; unsigned char delegateCanvasViewEndedStroke : 1; unsigned char delegateCanvasViewEndedStrokeShapeStrokes : 1; unsigned char delegateCanvasViewCancelledStroke : 1; unsigned char delegateShouldBeginDrawingWithTouch : 1; unsigned char delegateCanvasViewDidChangeHiddenState : 1; unsigned char delegateCanvasViewWillBeginDrawing : 1; unsigned char delegateCanvasViewRulerHostingView : 1; unsigned char delegateCanvasViewHoverShouldBeActiveAt : 1; unsigned char delegateCanvasViewWillCreateSnapshot : 1; unsigned char delegateCanvasViewSnapshottingDisabled : 1; } _canvasViewFlags; } @property (retain, nonatomic) NSHashTable *_observers; @property (readonly, nonatomic) UIView *contentView; @property (readonly, nonatomic) PKTiledView *_tiledView; @property (copy, nonatomic) PKDrawing *nonNullDrawing; @property (retain, nonatomic) PKInk *ink; @property (nonatomic) long long _maxFileFormatVersion; @property (nonatomic, setter=_setDisableTileRendering:) BOOL _disableTileRendering; @property (retain, nonatomic, setter=_setContentCoordinateSpace:) id<UICoordinateSpace> _contentCoordinateSpace; @property (nonatomic, setter=_setDrawBitmapEraserMask:) BOOL _drawBitmapEraserMask; @property (readonly, nonatomic) UIHoverGestureRecognizer *_hoverGestureRecognizer; @property (nonatomic) BOOL _disableUndoManager; @property (nonatomic) BOOL disableWideGamut; @property (nonatomic) BOOL rulerEnabled; @property (weak, nonatomic) id drawingUndoTarget; @property (nonatomic) SEL drawingUndoSelector; @property (nonatomic) BOOL predictionDisabled; @property (readonly, nonatomic) UIView *selectionView; @property (readonly, nonatomic) UIView *rulerView; @property (weak, nonatomic) id<PKRulerHostingDelegate> rulerHostingDelegate; @property (nonatomic) BOOL supportsCopyAsText; @property (readonly, nonatomic) struct CGSize { double x0; double x1; } _fixedPixelSize; @property (nonatomic) struct CGAffineTransform { double a; double b; double c; double d; double tx; double ty; } drawingTransform; @property (readonly, nonatomic) struct CGAffineTransform { double x0; double x1; double x2; double x3; double x4; double x5; } strokeTransform; @property (readonly, nonatomic) UIGestureRecognizer *_drawingGestureRecognizer; @property (weak, nonatomic) id<PKCanvasViewDelegate> delegate; @property (copy, nonatomic) PKDrawing *drawing; @property (copy, nonatomic) PKTool *tool; @property (nonatomic, getter=isRulerActive) BOOL rulerActive; @property (readonly, nonatomic) UIGestureRecognizer *drawingGestureRecognizer; @property (nonatomic) BOOL allowsFingerDrawing; @property (nonatomic) unsigned long long drawingPolicy; @property (nonatomic) long long maximumSupportedContentVersion; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (readonly, copy) NSString *description; @property (readonly, copy) NSString *debugDescription; - (void)_removeObserver:(id)a0; - (void)_addObserver:(id)a0; - (void)setBackgroundColor:(id)a0; - (void)setContentSize:(struct CGSize { double x0; double x1; })a0; - (void)setOpaque:(BOOL)a0; - (void)traitCollectionDidChange:(id)a0; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (BOOL)canBecomeFirstResponder; - (void).cxx_destruct; - (id)hitTest:(struct CGPoint { double x0; double x1; })a0 withEvent:(id)a1; - (void)setDelegate:(id)a0; - (void)layoutSubviews; - (void)awakeFromNib; - (id)_pinchGestureRecognizer; - (void)setMaximumZoomScale:(double)a0; - (BOOL)canPerformAction:(SEL)a0 withSender:(id)a1; - (void)paste:(id)a0; - (id)_getDelegateZoomView; - (id)_selectionController; - (id)_selectionInteraction; - (void)_flushCaches; - (BOOL)_hasObserver:(id)a0; - (BOOL)_hasSelection; - (void)performUndo:(id)a0; - (void)_toolPicker:(id)a0 didChangeColor:(id)a1; - (void)toolPickerIsRulerActiveDidChange:(id)a0; - (void)toolPickerSelectedToolDidChange:(id)a0; - (id)_adornmentViewsToHitTest; - (id)_allowedDrawingTouchTypes; - (BOOL)_canvasViewSnapshottingDisabled:(id)a0; - (void)_canvasViewWillBeginDrawing:(id)a0; - (void)_canvasViewWillCreateSnapshot:(id)a0; - (id)_currentStroke; - (void)_drawingDidChange; - (void)_fullyRendered; - (double)_latestLatency; - (struct CGSize { double x0; double x1; })_metalViewDrawableSize; - (struct CGSize { double x0; double x1; })_rendererControllerPixelSize; - (void)_setChildrenBackgroundColor:(id)a0; - (void)_setContentViewOpaqueBackgroundColorIfApplicable; - (void)_setDrawing:(id)a0 alreadyRenderedDrawing:(id)a1 imageForAlreadyRenderedDrawing:(id)a2 fullyRenderedCompletionBlock:(id /* block */)a3; - (void)_setDrawing:(id)a0 fullyRenderedCompletionBlock:(id /* block */)a1; - (void)_setFixedPixelSize:(struct CGSize { double x0; double x1; })a0 drawingScale:(double)a1; - (void)_setSelectedStrokesColor:(id)a0; - (void)_updateCanvas; - (void)_updateChildrenOpaque; - (void)canvasView:(id)a0 beganStroke:(id)a1; - (void)canvasView:(id)a0 cancelledStroke:(id)a1; - (void)canvasView:(id)a0 didChangeHiddenState:(BOOL)a1; - (void)canvasView:(id)a0 endedStroke:(id)a1 shapeStrokes:(id)a2; - (BOOL)canvasView:(id)a0 hoverShouldBeActiveAt:(struct CGPoint { double x0; double x1; })a1; - (BOOL)canvasView:(id)a0 shouldBeginDrawingWithTouch:(id)a1; - (void)canvasViewDidBeginDrawing:(id)a0; - (void)canvasViewDidEndDrawing:(id)a0; - (void)canvasViewDidEraseStrokes:(id)a0; - (void)commitSelectionIfNecessaryWithCompletion:(id /* block */)a0; - (void)imageWithCompletionBlock:(id /* block */)a0; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 drawingWidth:(double)a1; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 drawingWidth:(double)a1 fixedPixelSizeScrollView:(id)a2; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 fixedPixelSize:(struct CGSize { double x0; double x1; })a1 drawingScale:(double)a2 layerFixedPixelSize:(BOOL)a3; - (id)initWithFrame:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0 sixChannelBlend:(BOOL)a1 snapshotView:(id)a2; - (BOOL)predictionDisabled; - (BOOL)rulerHostWantsSharedRuler; - (id)rulerHostingView; - (struct CGPoint { double x0; double x1; })rulerSnapLineOriginAndNormal:(struct CGPoint { double x0; double x1; } *)a0 topSide:(BOOL)a1; - (void)setPredictionDisabled:(BOOL)a0; - (void)set_fixedPixelSize:(struct CGSize { double x0; double x1; })a0; - (void)setupDrawingWidth:(double)a0 fixedPixelSizeScrollView:(id)a1; - (void)setupDrawingWidth:(double)a0 fixedPixelSizeScrollView:(id)a1 sixChannelBlend:(BOOL)a2 drawBitmapEraserMask:(BOOL)a3; - (void)updateFixedPixelSizeViewForBounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; - (void)updateSubviewsForBounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a0; @end