ExamGecko
Question list
Search
Search

Related questions











Question 188 - H14-231_V1.0 discussion

Report
Export

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()
Answers
A.
touchEvent.getPointerScreenPosition(touchEvent.getIndex()).getX()
B.
touchEvent.getPointerPosition(touchEvent.getltem()).getX()
Answers
B.
touchEvent.getPointerPosition(touchEvent.getltem()).getX()
C.
touchEvent.getPointerScreenPosition(touchEvent.getltem()).getX()
Answers
C.
touchEvent.getPointerScreenPosition(touchEvent.getltem()).getX()
D.
touchEvent.getPointerPosition(touchEvent.getlndex()).getX()
Answers
D.
touchEvent.getPointerPosition(touchEvent.getlndex()).getX()
Suggested answer: D
asked 18/09/2024
Matthew Hillson
37 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first