anchor: Text:getWidth
  Gets the width of the text in pixels.
  width = Text:getWidth()
  width number The width of the text. If multiple sub-strings have been added with Text:add, the width of the last sub-string is returned.
  width = Text:getWidth( index )
  index number An index number returned by Text:add or Text:addf.
  width number The width of the sub-string (before scaling and other transformations).