Hello all,
Can someone post the JAVA SOURCE code for the text()
function with 5 params here please?
I need to modify it for my purpose.
For example I have a list of buttons (rectangles) and within each botton is a text of unknown length. Since I work with 5 params, I need to know how many line breaks there were and how high the text box is as a result. (e.g., text Quit, no line break, height 20; e.g. text “bla bla bla bla bla bla bla bla bla…..“, line breaks 4, height 44….).
I need the height so that I know, where I have to draw the next button in the list.
All complicate.
Thank you all.
Warm regards,
Chrisir