Related questions
Question 188 - H14-231_V1.0 discussion
When a company is developing a HarmonyOS application, it needs to customize an artboard control, how to get the X coordinates of the current touch point in the whole screen during the listening of touch events?
A.
touchEvent.getPointerScreenPosition(touchEvent.getIndex()).getX()
B.
touchEvent.getPointerPosition(touchEvent.getltem()).getX()
C.
touchEvent.getPointerScreenPosition(touchEvent.getltem()).getX()
D.
touchEvent.getPointerPosition(touchEvent.getlndex()).getX()
Your answer:
0 comments
Sorted by
Leave a comment first