Guest User

Untitled

a guest
Mar 17th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. final RichPath richPath = imageView.findFirstRichPath();
  2. richPath.setStrokeColor(Color.BLACK);
  3. richPath.setStrokeWidth(1f);
  4.  
  5. RichPathAnimator
  6. .animate(richPath)
  7. .pathData(elephantPathData)
  8. .fillColor(elephantFillColor)
  9. .duration(600)
  10.  
  11. .thenAnimate(richPath)
  12. .pathData(buffaloPathData)
  13. .fillColor(buffaloFillColor)
  14. .duration(600)
  15.  
  16. .thenAnimate(richPath)
  17. .pathData(hippoPathData)
  18. .fillColor(hippoFillColor)
  19. .duration(600)
  20. .start();
Add Comment
Please, Sign In to add comment