Font._textSizeBuffer

Buffer to reuse while measuring strings to avoid GC

This array store character widths cumulatively. For example, after measure of monospaced 10-pixel-width font line "abc def" _textSizeBuffer should contain something like: [10, 20, 30, 40, 50, 60, 70]

class Font
protected protected
int[] _textSizeBuffer;

Meta