StringParser.getPixelSize() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
font? |
Yes |
|
separation? |
{int} |
Yes |
width? |
{int} |
Yes |
{Vector2}
Return the number of pixels the string would occupy by applying either the specified or currently set Font. Limitations of width before forced line-break and separation between lines of text can be specified to be included.