Hey all. Can anyone clarify what the parameters for this function actually do? I understand what the first parameter is (text) but the others are a mystery.
Parameters:
text: (string)
letterSpacing: (number, default = 0)
size: (number, optional)
Return value:
number: The width of the first size characters of text.
Comments
and text is obviously text to use
letterSpacing is amount of pixels between letters in the text
and size I think is a font size to use, but now I'm not sure
I'm trying to get some text to print across multiple lines. I have the following code and would appreciate if anyone can suggest any optimizations...
Does it work too slow for you?
I did grab TextWrap but I'm a bit stupid and found the code very hard to follow L-)