Method OnCanvasTouch
OnCanvasTouch(object?, SKTouchEventArgs)
Handles touch events on the canvas and raises the corresponding touch event on the associated control.
protected virtual void OnCanvasTouch(object? sender, SKTouchEventArgs e)
Parameters
sender
objectThe source of the touch event, typically the canvas.
e
SKTouchEventArgsThe touch event arguments containing details about the touch action.
Remarks
This method processes touch actions such as Pressed and converts them into platform-independent touch events. If the associated control is not null, the touch event is raised on the control. On Android, wheel change actions are handled at the platform level and are ignored by this method.