Hi Jono, paint.getTextSize() gives the height of the current font.
-chinna On Fri, Mar 12, 2010 at 4:43 PM, jono <[email protected]> wrote: > Hi, did you managed to find out how to get the height of a text in a > paint object? > > On Feb 25, 7:48 pm, chinna Durai <[email protected]> wrote: > > Hi, > > How to get height of a font which is currently set to the paint object? I > > have set default system fault by as below > > > > *DEFAULT_FONTS = *Typeface.*create*(Typeface.*MONOSPACE*, > Typeface.*NORMAL*) > > > > paint.setTypeface(*DEFAULT_FONTS*); > > paint.setTextSize(15); > > > > Is the size 15 is the width of character or height of character? how to > get > > the height of a currently set font? > > > > Thanks in advance. > > > > -- > > Thanks and Regards > > Chinnadurai M > > -- > You received this message because you are subscribed to the Google > Groups "Android Beginners" group. > > NEW! Try asking and tagging your question on Stack Overflow at > http://stackoverflow.com/questions/tagged/android > > To unsubscribe from this group, send email to > [email protected]<android-beginners%[email protected]> > For more options, visit this group at > http://groups.google.com/group/android-beginners?hl=en > -- Thanks and Regards Chinnadurai M -- You received this message because you are subscribed to the Google Groups "Android Beginners" group. NEW! Try asking and tagging your question on Stack Overflow at http://stackoverflow.com/questions/tagged/android To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-beginners?hl=en

