mr.gestures

Xamarin: how to get cursor/touch coordinates (position X and Y)?

こ雲淡風輕ζ 提交于 2019-12-24 00:52:41
问题 Introduction I am creating my first Xamarin app (that will target UWP first, then Android, finally maybe iOS). Basically, the app should detect multiple fingers and circles will pop over each finger and follow them. My app First I thought that UI and graphics couldn't be coded with Xamarin so I started UWP code : MainPage.xaml.cs using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Runtime.InteropServices.WindowsRuntime;