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 have X/Y information, the distance between both coordinates (as in a straight line going from event1 to event2) will be returned.
event1
event2
first Gdk.Event
second Gdk.Event
true if the distance could be calculated.
true
3.0
If both events have X/Y information, the distance between both coordinates (as in a straight line going from
event1toevent2) will be returned.