I'm not sure, but hope this helps you ...
The Path class contains a set of vector drawing commands, such as lines, rectangles, and curves. Here is an example that defines a circular path:
circle = new Path(); circle.addCircle(150, 150, 100, Direction.CW);
This defines a circle at position x = 150, y = 150, with a radius of 100 pixels. Now that weve defined the path, we can use it to draw circles and also the text inside:
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);
You can see the result in this figure.

If you want to truly introduce yourself, Android offers several PathEffect
classes that allow you to do things such as applying random permutations to path, output all segments of the line along the path that the curves will be smoothed or broken into segments and create other effects.
source share