getXEnd

open override fun getXEnd(): Float

The getXEnd returned value is dependent on the getTextAlign as follows:

Return

the other X coordinate of the text, according to its Align