Class UIPanGestureRecognizer

All Implemented Interfaces:
NSObjectProtocol, ObjCProtocol
Direct Known Subclasses:
UIScreenEdgePanGestureRecognizer

public class UIPanGestureRecognizer
extends UIGestureRecognizer
  • Constructor Details

    • UIPanGestureRecognizer

      public UIPanGestureRecognizer()
    • UIPanGestureRecognizer

      protected UIPanGestureRecognizer​(NSObject.Handle h, long handle)
    • UIPanGestureRecognizer

      protected UIPanGestureRecognizer​(NSObject.SkipInit skipInit)
    • UIPanGestureRecognizer

      public UIPanGestureRecognizer​(NSObject target, Selector action)
    • UIPanGestureRecognizer

      public UIPanGestureRecognizer​(NSCoder coder)
    • UIPanGestureRecognizer

      public UIPanGestureRecognizer​(UIGestureRecognizer.OnGestureListener listener)
  • Method Details

    • getMinimumNumberOfTouches

      public long getMinimumNumberOfTouches()
    • setMinimumNumberOfTouches

      public void setMinimumNumberOfTouches​(long v)
    • getMaximumNumberOfTouches

      public long getMaximumNumberOfTouches()
    • setMaximumNumberOfTouches

      public void setMaximumNumberOfTouches​(long v)
    • getAllowedScrollTypesMask

      public UIScrollTypeMask getAllowedScrollTypesMask()
      Since:
      Available in iOS 13.4 and later.
    • setAllowedScrollTypesMask

      public void setAllowedScrollTypesMask​(UIScrollTypeMask v)
      Since:
      Available in iOS 13.4 and later.
    • getTranslation

      public CGPoint getTranslation​(UIView view)
    • setTranslation

      public void setTranslation​(CGPoint translation, UIView view)
    • getVelocity

      public CGPoint getVelocity​(UIView view)