We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Where are the x & y coordinates in the text function located on the drawn text in Processing? It doesn't seem to follow the CORNER rectangle system.
Thank you in advance.
You can test it
I think it’s lower left corner so that the text appears right and above (!) the given point
You can change that with textMode or textAlign (with 2 Parameters)
Best, Chrisir ;-)
it's the baseline on the left, by default (so descenders can be below this).
ellipse(50, 100, 5, 5);
text("yyy", 50, 100);
There are also code examples along with an illustration to explain how text alignment works -- here:
...and general discussion -- here:
If you are trying to include descenders (and/or ascenders) in your text layout math, you may be interested in: