I had a question, I just can't find the answer. There is an onTouchEvent(event: MotionEvent) and inside I draw a line using Paint. I can't figure out how to get the length of the paint line and find out the refraction, or rather how many degrees like on a picture.
from Calculate Paint Line length

No comments:
Post a Comment