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;
}
PLViewfinderView.java 文件源码
java
阅读 27
收藏 0
点赞 0
评论 0
项目:CXJPadProject
作者:
评论列表
文章目录