沿著路徑繪制文字 – Android移動開發技術文章_手機開發 Android移動開發教學課程

circle = new Path();
circle.addCircle(150, 150, 100, Direction.CW);
 private static final String QUOTE = "Now is the time for all " +
"good men to come to the aid of their country." ;
canvas.drawPath(circle, cPaint);
canvas.drawTextOnPath(QUOTE, circle, 0, 20, tPaint);
 

作者“技術人生”

發佈留言