On this page
mobile.TouchEvent
import "fyne.io/fyne/v2/driver/mobile"
Usage
type TouchEvent
type TouchEvent struct {
fyne.PointEvent
// ID represents the current ID of this touch, used to differentiate multiple fingers during a gesture.
// The ID value may be re-used after that touch is released from the device (via TouchUp or TouchCancel).
//
// Since: 2.8
ID int
}
TouchEvent contains data relating to mobile touch events