Last active
March 8, 2018 05:14
-
-
Save tarek360/84d67ccc384897459ca05e85d8841c57 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment