Android path to array - read the points on a path?

前端 未结 3 1232
小鲜肉
小鲜肉 2020-12-14 03:08

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 curren

3条回答
  •  长情又很酷
    2020-12-14 03:47

    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.

提交回复
热议问题