I'm making a phone app where I need to know where my touch manipulation point is on the screen. I've already set the Manipulation.container to a Viewbox which i can manipulate around. However I would like to get the manipulation relative to the screen, such that I can make some calculation between the viewbox and the point on the screen. Do I have to set my manipulation.container to something else or how do I get the point relative to the screen?

有帮助吗?

解决方案

A viewport controller should be used, and it enables the information through viewport property.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top