renderText

actual fun renderText(text: String?, attributes: TextAttributes): Texture?

Creates a texture for a specified text string and specified text attributes.

Parameters

text

The text string.

expect fun renderText(text: String?, attributes: TextAttributes): Texture?
actual fun renderText(text: String?, attributes: TextAttributes): Texture?
actual fun renderText(text: String?, attributes: TextAttributes): Texture?

Creates a texture for a specified text string and specified text attributes.

Parameters

text

The text string.

actual fun renderText(text: String?, attributes: TextAttributes): Texture?

Creates a texture for a specified text string and specified text attributes.

Parameters

text

The text string.

attributes

Text font, size, color etc.