Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - frmaurer99@gmail.com

Pages: [1]
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

Pages: [1]
anything