get_text_alignment


Description:

[ Version ( since = "2.20" ) ]
public float get_text_alignment ()

Returns the text alignment used for this.

Custom subclasses of ToolItem should call this function to find out how text should be aligned.

Parameters:

this

a ToolItem:

Returns:

a float indicating the horizontal text alignment used for this