BlurTransformation.java 文件源码

java
阅读 48 收藏 0 点赞 0 评论 0

项目:GitHub 作者:
/**
 *
 * @param context Context
 * @param radius The blur's radius.
 * @param color The color filter for blurring.
 */
public BlurTransformation(Context context, @FloatRange(from = 0.0f) float radius, int color) {
    super(context);
    mContext = context;
    if (radius > MAX_RADIUS) {
        mSampling = radius / 25.0f;
        mRadius = MAX_RADIUS;
    } else {
        mRadius = radius;
    }
    mColor = color;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号