advanced code snippet search
from "Hello Android 2nd Edition" (ISBN: 1-934356-49-2)
circle = new Path();circle.addCircle(150, 150, 100, Direction.CW); cPaint.setColor(Color.LTGRAY);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);
Report this snippet
You need to login to post a comment.