/**
* @param view The view that if being animated
* @param fillColor The color of the background that will the revealed
* @param bitmap The animage that will be shown in the end of the animation.
*/
public CircularRevealAnimatedDrawable(View view, int fillColor, Bitmap bitmap) {
mAnimatedView = view;
isRunning = false;
mPaint = new Paint();
mPaint.setAntiAlias(true);
mPaint.setStyle(Paint.Style.FILL);
mPaint.setColor(fillColor);
mPaintImageReady = new Paint();
mPaintImageReady.setAntiAlias(true);
mPaintImageReady.setStyle(Paint.Style.FILL);
mPaintImageReady.setColor(Color.TRANSPARENT);
mReadyImage = bitmap;
mImageReadyAlpha = 0;
mRadius = 0;
}
CircularRevealAnimatedDrawable.java 文件源码
java
阅读 52
收藏 0
点赞 0
评论 0
项目:RoundButton
作者:
评论列表
文章目录