Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- final RichPath richPath = imageView.findFirstRichPath();
- richPath.setStrokeColor(Color.BLACK);
- richPath.setStrokeWidth(1f);
- RichPathAnimator
- .animate(richPath)
- .pathData(elephantPathData)
- .fillColor(elephantFillColor)
- .duration(600)
- .thenAnimate(richPath)
- .pathData(buffaloPathData)
- .fillColor(buffaloFillColor)
- .duration(600)
- .thenAnimate(richPath)
- .pathData(hippoPathData)
- .fillColor(hippoFillColor)
- .duration(600)
- .start();
Add Comment
Please, Sign In to add comment