[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-7479":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":14,"stars90d":16,"forks30d":16,"starsTrendScore":18,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":10,"archived":20,"fork":21,"defaultBranch":22,"hasWiki":20,"hasPages":21,"topics":23,"createdAt":10,"pushedAt":10,"updatedAt":32,"readmeContent":33,"aiSummary":34,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":35,"discoverSource":36},7479,"RichPath","tarek360\u002FRichPath","tarek360","💪 Rich Android Path. 🤡 Draw as you want. 🎉 Animate much as you can.","https:\u002F\u002Ftwitter.com\u002Fa_tarek360",null,"Kotlin",2336,260,3,29,0,2,1,57.55,true,false,"develop",[24,25,26,27,28,29,30,31],"android","animation","icons","path","path-animation","svg","vector","vector-drawable","2026-06-12 04:00:33","## *** Library maintenance is paused until further notice! ***\n\n\n\n\u003Cimg src=\"\u002Fscreenshots\u002Fheader.gif\" width=\"400\">\n\u003Cimg src=\"\u002Fscreenshots\u002Fsamples.gif\" align=\"right\" width=\"120\">\n\n[![CircleCI](https:\u002F\u002Fcircleci.com\u002Fgh\u002Ftarek360\u002FRichPath.svg?style=svg)](https:\u002F\u002Fcircleci.com\u002Fgh\u002Ftarek360\u002FRichPath)\n[![Release](https:\u002F\u002Fjitpack.io\u002Fv\u002Ftarek360\u002FRichPath.svg)](https:\u002F\u002Fjitpack.io\u002F#tarek360\u002FRichPath) ![API](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FAPI-14%2B-brightgreen.svg?style=flat) [![Twitter URL](https:\u002F\u002Fimg.shields.io\u002Ftwitter\u002Furl\u002Fhttp\u002Fshields.io.svg?style=social)](https:\u002F\u002Ftwitter.com\u002Fintent\u002Ftweet?text=https:\u002F\u002Fgithub.com\u002Ftarek360\u002FRichPath)\n\n💪 Rich Android Path.     🤡 Draw as you want.    🎉 Animate much as you can.\n\n### Download sample app:\n\u003Ca href=\"https:\u002F\u002Fplay.google.com\u002Fstore\u002Fapps\u002Fdetails?id=com.pathanimator.sample\">\n\u003Cimg src=\"https:\u002F\u002Fplay.google.com\u002Fintl\u002Fen_us\u002Fbadges\u002Fimages\u002Fgeneric\u002Fen_badge_web_generic.png\" width=\"220\">\n\u003C\u002Fa>\n\n### Features\n\n- **Full Animation Control on Paths and VectorDrawables:**\nAnimate any attribute in a specific path in the VectorDrawable\n\n`fillColor`, `strokeColor`, `strokeAlpha`, `fillAlpha`, `size`, `width`, `height`, `scale`, `scaleX`, `scaleY`, `rotation`, `translationX`, `translationY`, `trimPathStart`, `trimPathEnd`, `trimPathOffset`.\n\n- **Path morphing:**\n\n\u003Cimg src=\"\u002Fscreenshots\u002Fanimal_path_morphing.gif\" width=\"250\">\n\n```Java\nRichPathAnimator.animate(richPath)\n       .pathData(pathData1, pathData2, ...)\n       .start();\n```\n\n## Just 3 Steps to Animate any path.\n\n#### 1. In your layout.\n```xml\n    \u003Ccom.richpath.RichPathView\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        app:vector=\"@drawable\u002Fvector_drawable\" \u002F>\n```\n\n#### 2. Find your richPath.\n ```java\n \u002F\u002F by path name\nRichPath richPath = richPathView.findRichPathByName(\"path_name\");\n\u002F\u002F or if it contains one path\nRichPath richPath = richPathView.findFirstRichPath();\n\u002F\u002F or by index\nRichPath richPath = richPathView.findRichPathByIndex(0);\n```\n\n#### 3. Use the RichPathAnimator to animate your richPath.\n ```java\nRichPathAnimator.animate(richPath)\n        .trimPathEnd(value1, value2, ...)\n        .fillColor(value1, value2, ...)\n        .start();\n```\n\n## Example\n\n#### notification icon vector drawable\n\u003Cimg src=\"\u002Fscreenshots\u002Fic_notifications.png\" align=\"right\" width=\"120\">\n\n```xml\n\u003Cvector xmlns:android=\"http:\u002F\u002Fschemas.android.com\u002Fapk\u002Fres\u002Fandroid\"\n    android:width=\"32dp\"\n    android:height=\"32dp\"\n    android:viewportHeight=\"32.0\"\n    android:viewportWidth=\"32.0\">\n\n    \u003Cgroup\n        android:pivotX=\"16\"\n        android:pivotY=\"6.25\">\n        \u003Cpath\n            android:name=\"top\"\n            android:fillColor=\"#FFF7F7F7\"\n            android:pathData=\"M22,19.8v-5c0-3.1-1.6-5.6-4.5-6.3V7.8c0-0.8-0.7-1.5-1.5-1.5s-1.5,0.7-1.5,1.5v0.7c-2.9,0.7-4.5,3.2-4.5,6.3v5l-2,2v1h16v-1L22,19.8z\" \u002F>\n\n        \u003Cpath\n            android:name=\"bottom\"\n            android:fillColor=\"#FFF7F7F7\"\n            android:pathData=\"M16,25.8c1.1,0,2-0.9,2-2h-4C14,24.9,14.9,25.8,16,25.8z\" \u002F>\n    \u003C\u002Fgroup>\n\u003C\u002Fvector>\n```\n\n#### XML\n```xml\n    \u003Ccom.richpath.RichPathView\n        android:id=\"@+id\u002Fic_notifications\"\n        android:layout_width=\"wrap_content\"\n        android:layout_height=\"wrap_content\"\n        app:vector=\"@drawable\u002Fic_notifications\" \u002F>\n```\n\n#### Java\n\u003Cimg src=\"\u002Fscreenshots\u002Fic_notifications.gif\" align=\"right\" width=\"120\">\n\n```java\nRichPath top = notificationsRichPathView.findRichPathByName(\"top\");\nRichPath bottom = notificationsRichPathView.findRichPathByName(\"bottom\");\n\nRichPathAnimator.animate(top)\n        .interpolator(new DecelerateInterpolator())\n        .rotation(0, 20, -20, 10, -10, 5, -5, 2, -2, 0)\n        .duration(4000)\n        .andAnimate(bottom)\n        .interpolator(new DecelerateInterpolator())\n        .rotation(0, 10, -10, 5, -5, 2, -2, 0)\n        .startDelay(50)\n        .duration(4000)\n        .start();\n```\n\n\n### Installation\n\nAdd the following dependency to your module `build.gradle` file:\n```gradle\ndependencies {\n\t...\n\timplementation 'com.github.tarek360.RichPath:animator:0.1.1'\n}\n```\n\nAdd this to your root `build.gradle` file (**not** your module `build.gradle` file) :\n```gradle\nallprojects {\n\trepositories {\n\t\t...\n\t\tmaven { url \"https:\u002F\u002Fjitpack.io\" }\n\t}\n}\n```\n\n### More Control by the RichPathAnimator\n\n - **Animate multiple paths sequentially or at the same time**\n ```java\nRichPathAnimator\n        .animate(richPath1, richPath2)\n        .rotation(value1, value2, ...)\n\n        \u002F\u002FAnimate the same path or another with different animated attributes.\n        .andAnimate(richPath3)\n        .scale(value1, value2, ...)\n\n        \u002F\u002FAnimate after the end of the last animation.\n        .thenAnimate(richPath4)\n        .strokeColor(value1, value2, ...)\n\n        \u002F\u002F start your animation 🎉\n        .start();\n```\n\n - **Which one of the paths is clicked?**\n ```java\nrichPathView.setOnPathClickListener(new RichPath.OnPathClickListener() {\n     @Override\n     public void onClick(RichPath richPath) {\n\t    if (richPath.getName().equals(\"path_name\")) {\n\t        \u002F\u002FTODO do an action when a specific path is clicked.\n\t    }\n     }\n });\n```\n\n## TODO\n\n- ~Clickable path~ (Done)\n- Support clip-path\n- Path animation (animate a RichPath on a path)\n- Reverse animation\n- ...\n\nIf you have any suggestion please open an issue for it.\n\n## Credits\n\n- [florent37](https:\u002F\u002Fgithub.com\u002Fflorent37) He is the creator of [ViewAnimator](https:\u002F\u002Fgithub.com\u002Fflorent37\u002FViewAnimator) which gave me the idea of this project. Some core concepts and ideas were reused, but everything is written from scratch.\n- [Android](https:\u002F\u002Fandroid.com\u002F) Some code is reused form the android source code and the VectorDrawableCompat support library.\n- [Alex Lockwood](https:\u002F\u002Fgithub.com\u002Falexjlockwood) The paths of the morphing sample is extracted from the [Shape Shifter](https:\u002F\u002Fgithub.com\u002Falexjlockwood\u002FShapeShifter) demo.\n\n## Developed By\n\n* Ahmed Tarek\n * [tarek360.github.io](http:\u002F\u002Ftarek360.github.io\u002F)\n * [Twitter](https:\u002F\u002Ftwitter.com\u002Fa_tarek360)\n\n\n## License\n\n>Copyright 2017 Tarek360\n\n>Licensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n>   http:\u002F\u002Fwww.apache.org\u002Flicenses\u002FLICENSE-2.0\n\n>Unless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n","RichPath 是一个用于Android平台的路径动画库，支持SVG和VectorDrawable的复杂动画效果。它提供了对路径及矢量图形所有属性（如填充色、描边色、大小、旋转等）的全面动画控制能力，并且支持路径变形功能，能够实现平滑过渡的形态变化。该库适用于需要在Android应用中添加高质量矢量图形动画的各种场景，比如UI元素的动态展示、图标动画以及复杂的交互式图形界面设计。使用Kotlin编写，集成简便，只需三步即可为任何路径添加动画效果。","2026-06-11 03:12:42","top_language"]