PointerEventArgs.

GetCurrentPoint(IVisual?) Method

Summary

Returns the PointerPoint associated with the current event
Namespace
Avalonia.Input
Containing Type
PointerEventArgs

Syntax

public PointerPoint GetCurrentPoint(IVisual? relativeTo)

Parameters

Name Type Description
relativeTo IVisual? The visual which coordinate system to use. Pass null for toplevel coordinate system

Return Value

Type Description
PointerPoint