tags:

views:

36

answers:

1

Hi,

Is there a way to read the points created when drawing a path? It seems silly to me that a path cannot be readable.

Or is it just better to manually write the current finger position to an array?

thanks

A: 

As far as I know, I think that you can't get previously added points, but you can extend Path class and create your own, override add methods, and then store that points in an array or a list or whatever you prefer.

Rabas
Thanks, that’s what I thought. I don’t think extending the class will add anything more than just adding the points (x, y) from onMyTouchEvent to an ArrayList instead.
Matt