luxlabs header browser preview


@class UIBezierPath, UITapGestureRecognizer, PKDrawing, NSMutableArray, UITapAndAHalfRecognizer, UIView, NSOrderedSet, UILongPressGestureRecognizer, PKSelectionController, NSString, PKSelectionGlowRenderer, NSMutableOrderedSet, PKDrawingAdjustmentKnob, NSArray, UIPanGestureRecognizer;
@protocol PKSelectionRendering, PKSelectionInteractionDelegate;

@interface PKSelectionInteraction : NSObject <UIInteraction, UIGestureRecognizerDelegate> {
    id<PKSelectionRendering> _lassoRenderer;
    PKSelectionGlowRenderer *_glowRenderer;
    UIBezierPath *_lassoPath;
    struct CGPoint { double x; double y; } _lastTapLocation;
    double _lastTapTimestamp;
    long long _currentTapCount;
    struct CGPoint { double x; double y; } _lastDoubleTapAndDragLocation;
    double _lastDoubleTapAndDragTimestamp;
    NSMutableArray *_tapAndDragVelocityArray;
    long long _tapAndDragVelocityCount;
    long long _currentlyDraggedKnob;
    long long _knobDragMode;
    double _knobDragInitialTimestamp;
    struct CGPoint { double x; double y; } _knobDragInitialLocation;
    struct CGPoint { double x; double y; } _undraggedKnobLocationInStrokeSpace;
    struct CGPoint { double x; double y; } _currentScrollOffset;
    NSArray *_firstStrokesInInitialStrokes;
    NSArray *_lastStrokesInInitialStrokes;
    long long _modificationType;
    NSMutableArray *_selectionViewGestures;
    PKDrawingAdjustmentKnob *_insertSpaceAffordance;
    UIPanGestureRecognizer *_insertSpaceAffordanceGesture;
}

@property (weak, nonatomic) UIView *view;
@property (retain, nonatomic) UIPanGestureRecognizer *lassoGestureRecognizer;
@property (retain, nonatomic) UITapGestureRecognizer *noOpTapGestureRecognizer;
@property (retain, nonatomic) UITapGestureRecognizer *progressiveTapGestureRecognizer;
@property (retain, nonatomic) UILongPressGestureRecognizer *tapAndHoldToSelectLongPressGestureRecognizer;
@property (retain, nonatomic) UITapAndAHalfRecognizer *modifySelectionRecognizer;
@property (retain, nonatomic) UILongPressGestureRecognizer *knobBrushGestureRecognizer;
@property (retain, nonatomic) UIPanGestureRecognizer *knobDragGestureRecognizer;
@property (weak, nonatomic) PKSelectionController *selectionController;
@property (nonatomic) struct CGPoint { double x; double y; } _drawingBeganLocation;
@property (nonatomic) BOOL _didCancelSelection;
@property (retain, nonatomic) PKDrawing *currentDrawing;
@property (retain, nonatomic) NSMutableOrderedSet *smartSelectedStrokes;
@property (retain, nonatomic) NSOrderedSet *initialStrokeSelectionBeforeModification;
@property (nonatomic) BOOL insertSpaceEnabled;
@property (weak, nonatomic) id<PKSelectionInteractionDelegate> delegate;
@property (nonatomic, getter=isEnabled) BOOL enabled;
@property (readonly, nonatomic) BOOL hasStrokesOrElementsSelection;
@property (readonly, nonatomic) BOOL hasCurrentSelection;
@property (readonly, nonatomic) BOOL currentSelectionHasStrokes;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

- (void)didMoveToView:(id)a0;
- (BOOL)isLTR;
- (BOOL)gestureRecognizerShouldBegin:(id)a0;
- (void)willMoveToView:(id)a0;
- (void)_setupGestures;
- (void).cxx_destruct;
- (BOOL)gestureRecognizer:(id)a0 shouldRequireFailureOfGestureRecognizer:(id)a1;
- (BOOL)gestureRecognizer:(id)a0 shouldRecognizeSimultaneouslyWithGestureRecognizer:(id)a1;
- (id)_gestures;
- (void)_handleSingleTap:(id)a0;
- (BOOL)_isRepeatedTap:(id)a0;
- (double)_timestampForGestureRecognizer:(id)a0;
- (BOOL)knobsContainPoint:(struct CGPoint { double x0; double x1; })a0 forInputType:(long long)a1;
- (void)_didTapAndDrag:(id)a0;
- (void)_addInsertSpaceAffordance;
- (void)_addInsertSpaceAffordanceGestureIfNecessary;
- (id)_adornmentLayers;
- (void)_calculateFirstAndLastStrokeForKnobPlacement;
- (void)_cancelDeferredPasteFromTappingAction;
- (void)_cleanupInsertSpaceAffordance;
- (void)_clearLiveSelectionPath;
- (id)_closestStrokesToCorner:(unsigned long long)a0 fromStrokes:(id)a1;
- (void)_didAddSelectionView:(id)a0;
- (void)_didBeginDraggingSelection:(id)a0;
- (void)_didBeginSelection:(id)a0;
- (void)_didBrushWithKnob:(id)a0;
- (void)_didDragKnob:(id)a0;
- (void)_didEndDraggingSelection:(id)a0;
- (void)_didEndLassoAddingSpaceAtLocation:(struct CGPoint { double x0; double x1; })a0;
- (void)_didEndLassoSelectionWithPath:(id)a0;
- (void)_didGrabInsertSpaceAffordance:(id)a0;
- (BOOL)_didLongPressExternalElementAtLocation:(struct CGPoint { double x0; double x1; })a0;
- (void)_didSmartSelectTap:(id)a0;
- (void)_dismissEditMenuIfNecessary;
- (BOOL)_dragShouldBeginForSession:(id)a0;
- (id)_drawingForLocation:(struct CGPoint { double x0; double x1; })a0;
- (void)_eatGesture:(id)a0;
- (id)_firstStrokesInStrokes:(id)a0;
- (id)_gesturesForLiveSelection;
- (BOOL)_insertSpaceAffordanceEnabled;
- (void)_intersectedStrokesInDrawing:(id)a0 forSelectionInput:(id)a1 existingSelection:(id)a2 completion:(id /* block */)a3;
- (BOOL)_isLassoAddingSpace:(struct CGPoint { double x0; double x1; })a0;
- (BOOL)_isWithinRepeatedTapTimeForGesture:(id)a0;
- (id)_knobForLocation:(struct CGPoint { double x0; double x1; })a0;
- (id)_knobForLocation:(struct CGPoint { double x0; double x1; })a0 forInputType:(long long)a1;
- (id)_lastStrokesInStrokes:(id)a0;
- (BOOL)_liveSelectionGestureStillActive;
- (BOOL)_locationShouldFlipOverLeftKnob:(struct CGPoint { double x0; double x1; })a0;
- (BOOL)_locationShouldFlipOverLeftKnob_LTR:(struct CGPoint { double x0; double x1; })a0;
- (BOOL)_locationShouldFlipOverLeftKnob_RTL:(struct CGPoint { double x0; double x1; })a0;
- (BOOL)_locationShouldFlipOverRightKnob:(struct CGPoint { double x0; double x1; })a0;
- (BOOL)_locationShouldFlipOverRightKnob_LTR:(struct CGPoint { double x0; double x1; })a0;
- (BOOL)_locationShouldFlipOverRightKnob_RTL:(struct CGPoint { double x0; double x1; })a0;
- (struct CGPoint { double x0; double x1; })_pointFromViewToStrokeSpace:(struct CGPoint { double x0; double x1; })a0 inDrawing:(id)a1;
- (void)_pressAndHoldLinearExpand:(id)a0;
- (void)_resetVelocityWindow;
- (void)_selectViaContinuousTapWithInput:(id)a0;
- (BOOL)_selectionInteractionShouldBeginAtPoint:(struct CGPoint { double x0; double x1; })a0 forEvent:(id)a1 orGestureRecognizer:(id)a2;
- (BOOL)_selectionInteractionShouldForwardAtPoint:(struct CGPoint { double x0; double x1; })a0 forEvent:(id)a1;
- (id)_selectionModifierGestures;
- (BOOL)_selectionShouldReceiveTouchForPoint:(struct CGPoint { double x0; double x1; })a0;
- (long long)_selectionTypeForTapCount:(long long)a0;
- (long long)_selectionTypeForVelocity:(double)a0;
- (double)_timestampForTouch:(id)a0;
- (void)_toolPickerDidShowHide:(id)a0;
- (struct CGPoint { double x0; double x1; })_undraggedKnobLocation:(long long)a0 forInitialStrokeBounds:(struct CGRect { struct CGPoint { double x0; double x1; } x0; struct CGSize { double x0; double x1; } x1; })a1;
- (void)_updateAllowedTouchTypesForLassoGR;
- (void)_updateAllowedTouchTypesForSelectedInk:(id)a0;
- (void)_updateAllowedTouchTypesForSelectedInk:(id)a0 hasCurrentSelection:(BOOL)a1;
- (void)_updateInsertSpaceAffordancePosition;
- (void)_updateLiveLassoPath:(struct CGPath { } *)a0;
- (void)_updateProgressiveTapSelectionWithSelectionInput:(id)a0 existingSelection:(id)a1;
- (void)_updateSmartSelectionWithDragToLocation:(struct CGPoint { double x0; double x1; })a0 liveScrollOffset:(struct CGPoint { double x0; double x1; })a1 completion:(id /* block */)a2;
- (void)_updateSmartSelectionWithDragToLocation:(struct CGPoint { double x0; double x1; })a0 liveScrollOffset:(struct CGPoint { double x0; double x1; })a1 initialSelectedWord:(id)a2 completion:(id /* block */)a3;
- (long long)_updateSmartSelectionWithInput:(id)a0 modificationType:(long long)a1;
- (long long)_updateSmartSelectionWithInput:(id)a0 modificationType:(long long)a1 completion:(id /* block */)a2;
- (long long)_updateSmartSelectionWithInput:(id)a0 modificationType:(long long)a1 liveScrollOffset:(struct CGPoint { double x0; double x1; })a2 completion:(id /* block */)a3;
- (void)_updateStateIfNecessaryWithOldModificationType:(long long)a0 newModificationType:(long long)a1;
- (void)_updateTapGestureHistoryWithLocation:(struct CGPoint { double x0; double x1; })a0 gesture:(id)a1;
- (void)_updateUndraggedKnobLocationForKnobDrag;
- (double)_updateVelocityWindowWithTimestamp:(double)a0 location:(struct CGPoint { double x0; double x1; })a1;
- (double)_updateVelocityWindowWithTouch:(id)a0 location:(struct CGPoint { double x0; double x1; })a1;
- (id)_visibleOnscreenStrokesForDrawing:(id)a0;
- (void)_willRemoveSelectionView:(id)a0;
- (struct CGPoint { double x0; double x1; })clampInputPointForSelection:(struct CGPoint { double x0; double x1; })a0 forDrawing:(id)a1;
- (void)didResizeExternalElements;
- (void)dismissEditMenuIfNecessary;
- (BOOL)gesturesAllowedForPaletteState;
- (BOOL)hasStrokesAtLocation:(struct CGPoint { double x0; double x1; })a0;
- (id)initWithSelectionController:(id)a0;

@end