StringParser.getPixelSize() - Mtax-Development/GML-OOP GitHub Wiki
Name |
Type |
Optional |
font? |
Yes |
|
scale? |
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, at specified Scale or size of that Font. Limitations for width before forced line-break and separation between lines of text can be included by specifying them.