I use Affine Transform to rotate String in my java project, and I'm not an experienced programmer yet, so it took me a long time to do a small task. Rotate the line.
Now I finally got the job more or less, as I hoped, but it's not as accurate as I want ... for now.
Since it required a lot of trial and error and reading the description of the affine transformation, I'm still not quite sure what it actually does. What I think I know at the moment is that I take the line and determine the center of the line (or the point I want to rotate), but where do the matrices go into this? (Apparently, I do not know what hehe)
Can someone try to explain to me how the affine transform works, in other words, than a Java document? Maybe this will help me customize my implementation, and also I just would like to know :)
Thanks in advance.
source
share