Is it possible to write text in arc form using iText

I want to write text in the form of an arc, as shown in the image.

Does iText for java support some functions for this? Any help would be appreciated.

enter image description here

+4
source share
1 answer

There is no direct way to do this with iText. However, using simple math, you can determine the path, and then the position and angle of each letter. Then use example (taken from iText in the book action ) as an inspiration for how to draw each character in the right position / corner.

+1
source

Source: https://habr.com/ru/post/1487219/


All Articles