Klasse GestureRotate

Alle implementierten Schnittstellen:
PointerInterface

public class GestureRotate extends Gesture
Recognizes 2-finger rotation gestures.

Whenever the angle between both handled sequences changes, the
[signal@Gtk.GestureRotate::angle-changed] signal is emitted.

https://docs.gtk.org/gtk4/class.GestureRotate.html

  • Felddetails

  • Konstruktordetails

    • GestureRotate

      public GestureRotate(PointerContainer pointer)
    • GestureRotate

      public GestureRotate()
      Returns a newly created `GtkGesture` that recognizes 2-touch
      rotation gestures.
  • Methodendetails

    • getClassHandler

      public static ClassHandler getClassHandler()
    • getAngleDelta

      public double getAngleDelta()
      Gets the angle delta in radians.

      If @gesture is active, this function returns the angle difference
      in radians since the gesture was first recognized. If @gesture is
      not active, 0 is returned.
      Gibt zurück:
      the angle delta in radians
    • onAngleChanged

      public SignalHandler onAngleChanged(GestureRotate.OnAngleChanged signal)
      Connect to signal "angle-changed".
      See GestureRotate.OnAngleChanged.onAngleChanged(double, double) for signal description.
      Field SIGNAL_ON_ANGLE_CHANGED contains original signal name and can be used as resource reference.
      Parameter:
      signal - callback function (lambda).
      Gibt zurück:
      SignalHandler. Can be used to disconnect signal and to release callback function.
    • getTypeID

      public static long getTypeID()
    • getParentTypeID

      public static long getParentTypeID()
    • getTypeSize

      public static TypeSystem.TypeSize getTypeSize()
    • getParentTypeSize

      public static TypeSystem.TypeSize getParentTypeSize()
    • getInstanceSize

      public static int getInstanceSize()