Animating the drawing of a canvas path on Android

前端 未结 3 589
北荒
北荒 2020-12-16 04:14

I\'d like to animate the drawing of a path, i.e. to have it progressively appear on the screen. I am using the canvas and my best guess so far is to use an ObjectAnimator to

3条回答
  •  情深已故
    2020-12-16 04:57

    As far as I know, the only way is to start with an empty path and have a runnable that appends points to the path at defined intervals, until it is completed.

提交回复
热议问题