1
Graphics / Text.getLocalBounds() returns strange coordinates
« on: June 03, 2023, 09:02:03 pm »
I have a Text object. I have the string, the font and the size set. When I call getLocalBounds() on this object it returns a rect with the following values:
left = 0.0, top = 5.0, width = 48.8 and height = 6.0
I expected both left and top to be 0.0.
Why is the top not 0?
Thanks
left = 0.0, top = 5.0, width = 48.8 and height = 6.0
I expected both left and top to be 0.0.
Why is the top not 0?
Thanks