Which is faster? getCharBoundaries or getLineMetrics


hi,

i need hold of vertical position , height of text character. possible using textfield.getcharboundaries() method rather slow have looked other possibilities. 1 way hold of line index of character textfield.getlineindexofchar() , iterate on text lines , examine heights using textfield.getlinemetrics().
what ask if can expect increased efficiency using second method compared first.

i of course interested in other ways hold of same information.

ok quick update:

i have done tests our application , result when using getlinemetrics() instead of getcharboundaries() cut in processing time >99%.


More discussions in Flex (Read Only)


adobe

Comments

Popular posts from this blog

VIDIOC_S_FMT error 16, Device or resource busy - Raspberry Pi Forums

using a laptop skeleton to build a pi laptop - Raspberry Pi Forums

Forum for Joomla? - Joomla! Forum - community, help and support