Fyne API "fyne.PointEvent"

fyne.PointEvent


import "fyne.io/fyne/v2"

Usage

type PointEvent

type PointEvent struct {
	AbsolutePosition Position // The absolute position of the event
	Position         Position // The relative position of the event
}

PointEvent describes a pointer input event. The position is relative to the top-left of the CanvasObject this is triggered on.