TextState

Describes the style for a text that will be rendered.

Constructors

Link copied to clipboard
constructor()
constructor(innerColor: Rgba? = null, outerColor: Rgba? = null, outerWidth: Float? = null, scale: Float? = null, fontSize: Int? = null, style: ETextStyle? = null, alignment: ETextAlignment? = null, useComplexScript: Boolean? = null)

Properties

Link copied to clipboard

Address of native referenced object. nullptr if not referencing any native allocated object. Note native allocation will happen only once.

Link copied to clipboard

Text alignment.

Link copied to clipboard

Text font size.

Link copied to clipboard

Inner color of the text.

Link copied to clipboard

Outer color of the text.

Link copied to clipboard

Outer width of the text.

Link copied to clipboard

Text scale.

Link copied to clipboard

Text style.

Link copied to clipboard

Use complex script.

Functions

Link copied to clipboard
fun finalize()

Overrides finalize that garbage collector will call when needed.

Link copied to clipboard

True if keeps a reference to a C++ SDK object False if keeps a C++ SDK object

Link copied to clipboard
operator fun not(): Boolean

Checks if this object is valid.

Link copied to clipboard
fun release()

Releases the native referenced value of this object if: