TypeScript API Documentation for GDK
API Version: 3.0
Library Version: 3.24.51
Generated with TypeDoc via ts-for-gir v4.0.0-beta.40
Since 3.0
If both events contain X/Y information, this function will return true and return in angle the relative angle from event1 to event2. The rotation direction for positive angles is from the positive X axis towards the positive Y axis.
true
angle
event1
event2
first Gdk.Event
second Gdk.Event
true if the angle could be calculated.
3.0
If both events contain X/Y information, this function will return
trueand return inanglethe relative angle fromevent1toevent2. The rotation direction for positive angles is from the positive X axis towards the positive Y axis.