pasteLine(line, x, y, customSpacingX)
Internal function that takes a single line of text (2nd parameter) and pastes it into the BitmapData at the given coordinates.
Used by getLine and getMultiLine
Parameters
Name | Type | Description |
---|---|---|
line | string | The single line of text to paste. |
x | number | The x coordinate. |
y | number | The y coordinate. |
customSpacingX | number | Custom X spacing. |
- Source code: gameobjects/RetroFont.js (Line 420)
Please login to continue.