㈠ android如何用画笔画一条直线并能够绕一个圆心一直做360旋转
mp2=new Paint();
mp2.setStyle(Paint.Style.STROKE);
mp2.setColor(Color.YELLOW);
mp2.setStrokeWidth(2);
mp2.setAntiAlias(true);
oval=new RectF(
fleft,
ftop,
fleft+fw,
ftop+fw);
int start=0;
canvas.drawArc(oval, start=start>360?0:start+3, 300, false, mp2);
然后不断invalidate();就会有个圆弧边 转啊转~ 望采纳,如果要Demo可以找我