This constructor is an implementation detail. Do not use this.
Accesses the centered text. If the text isn't centered, an empty string is returned instead.
Disposes the object, allowing it to clean up all of its memory. You need to call this for every object that you don't use anymore and hasn't already been disposed.
Returns whether the text is split up into a left and right part.
Accesses the left part of the text. If the text isn't split up, an empty string is returned instead.
Accesses the right part of the text. If the text isn't split up, an empty string is returned instead.
Allows for scoped usage of the object. The object is guaranteed to get disposed once this function returns. You are free to dispose the object early yourself anywhere within the scope. The scope's return value gets carried to the outside of this function.
Generated using TypeDoc
The state object describes the information to visualize for this component.