Sunday, 15 September 2013

How to animate a path using PathMeasure

How to animate a path using PathMeasure

I want to animate a path using the PathMeasure class. My constructor code
is :
Paint paint = new Paint()....
Path p = new Path();
p.moveTo(0,0)
etc etc...
And my overriden onDraw method :
protected void onDraw(Canvas canvas){
canvas.drawPath(p,paint);
etc etc...
}
Is there any way to draw the path animated using the pathMeasure?? Thank you

No comments:

Post a Comment