B4J Question Measure text

hookshy

Well-Known Member
Licensed User
Longtime User
Jstring utils miss the measure text method .
Do I have other options to deal with drawn texts over canvas ....
I found that I can draw text on midle of the canvas by set "CENTER" property...

I do not know to put the text to midle of a rectangular ...because I do not know how to measure the
text width related to text font .Centering a text on a canvas like label does seem to be hard enough.

I do miss options on canvas library ..it is just a wish !
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…