Possible Duplicate:
How to write curved text?
I want to render text as in given image (in place of "AMEX 3"). Please tell me how to achieve this.
Create a round Path - object, and then in a custom canvas use drawTextOnPath.
Path path = new Path();
path.addCircle(x, y, radius, Path.Direction.CW);
myCanvas.drawTextOnPath(myText, path, offset, 0, myPaint);
myCanvas should now contain the curved text.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With