Font:getWidth
Determines the horizontal size a line of text needs. Does not support line-breaks.
Function
Synopsis
width = Font:getWidth( line )
Arguments
string line
- A string.
Returns
number width
- The width of the line.
Determines the horizontal size a line of text needs. Does not support line-breaks.
width = Font:getWidth( line )
string line
number width
Please login to continue.