摘要:
//把整张画布绘制成白色canvas.drawColor(Color.WHITE);Paintpaint=newPaint();//去锯齿paint.setAntiAlias(true);paint.setColor(Color.BLUE);paint.setStyle(Paint.Style.STROKE);paint.setStrokeWidth(3);//绘制圆形canvas.drawCircle(40,40,30,paint);//绘制正方形canvas.drawRect(10,80,70,140,paint);//绘制矩形canvas.drawRect(10,150,70,190,p 阅读全文