PLViewfinderView.java 文件源码

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

项目:CXJPadProject 作者:
public PLViewfinderView(Context context, int w, int h) {
    super(context);
    this.w = w;
    this.h = h;
    paint = new Paint();
    paintLine = new Paint();
    Resources resources = getResources();
    maskColor = resources.getColor(R.color.viewfinder_mask);
    resultColor = resources.getColor(R.color.result_view);
    frameColor = resources.getColor(R.color.viewfinder_frame);// 绿色
    laserColor = resources.getColor(R.color.viewfinder_laser);// 红色
    scannerAlpha = 0;
}
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号