Get Text Alignment


描述

This action will get the font alignment for all current draw text actions. You can choose whether to retrieve the horizontal or vertical alignment to check, and the action will return one of the following constant values, that represent a different type of horizontal or vertical alignment:

左对齐 文字水平排布,左对齐。
居中对齐 文字水平排布,居中对齐。
右对齐 文字水平排布,右对齐。
上对齐 文字竖直排布,上对齐。
中对齐 文字竖直排布,中对齐。
底对齐 文字竖直排布,底对齐。


动作语法:

Get Text Alignment Syntax


例如:

Get Text Alignment Example
The above action block code checks the horizontal text alignment and if it's not set to fa_left, then it is set to that value..