为什么我设置了画笔的颜色,但是显示的却是透明的,画笔的其他属性都好用,只有颜色不能正常显示,有人遇到这个问题了嘛?求解答
private void setupOutPaint() { mOutterPaint.setColor(Color.RED); //设置画笔颜色 mOutterPaint.setAntiAlias(true); mOutterPaint.setDither(true); mOutterPaint.setStrokeJoin(Paint.Join.ROUND); mOutterPaint.setStrokeCap(Paint.Cap.ROUND); mOutterPaint.setStyle(Paint.Style.STROKE); mOutterPaint.setStrokeWidth(80); }