I am creating one graphics 2D program where I am drawing different size rectangles.
I need to show some info in these rectangles.
My concern is sometimes length of string is more than width of rectangle causing string to go out from rectangle boundary.
Can I resize string font size dynamically to accommodate string in rectangle?
Thanks for any hint you can provide.