如何用动画绘制路径?

时间:2018-02-20 09:34:45

标签: android animation path duration

green_paintbrush_stroke = new Paint();
green_paintbrush_stroke.setColor(Color.GREEN);
green_paintbrush_stroke.setStyle(Paint.Style.STROKE);
green_paintbrush_stroke.setStrokeWidth(10);

tik = new Path();
tik.moveTo(25,50);
tik.lineTo(50,100);
tik.moveTo(50,100);
tik.lineTo(100,-1);

我想用动画持续时间绘制mypath。你能帮帮我吗?

0 个答案:

没有答案