![](http://dl2.iteye.com/upload/attachment/0099/4653/1d587c5d-a988-3021-be2c-17bf511d0877.jpg)
protected void onDraw(Canvas canvas) { Paint paint = new Paint(); paint.setTextSize(20); Path path = new Path(); // 绘制一个圆形的路径,文字会在该圆的上边缘外侧绘制 path.addCircle(100,100, 100, Direction.CW); canvas.drawColor(Color.WHITE); canvas.translate(50, 50); paint.setTextAlign(Paint.Align.RIGHT); canvas.drawTextOnPath("Android 开发权威指南", path, -55,0, paint); }