用于創造Android圓弧過渡動畫:ArcAnimator
ArcAnimator有助于創造圓弧過渡動畫:2.3+。
//set up clipView and coordinates where clipView will move ArcAnimator arcAnimator = ArcAnimator.createArcShift(clipView, endX, endY, DEGREE, SIDE) .setDuration(500) .start();//or specify nestView for clipView. Animator will take center x,y coordinates of nestView ArcAnimator arcAnimator = ArcAnimator.createArcShift(clipView, nestView, DEGREE, SIDE) .setDuration(500) .start();</pre>
本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!