Jump to content

BitmapText calculating string with for word wrapping


agmcleod
 Share

Recommended Posts

Hello. I'm looking at using a bitmaptext object for dialogue, and I'm wondering if there's a way to achieve automatic word wrapping. Since the wordWrap style options won't work on the bitmaptext, is there a way i can pass a string and calculate its width? It doesn't make sense to create individual bitmaptext objects for each word and check their width, as that sounds rather expensive.

 

Any suggestions on how to achieve this?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...