get_horizontal_direction


Description:

[ Version ( since = "0.9.2" ) ]
public Direction get_horizontal_direction ()

Fetches the Direction of a script when it is set horizontally.

All right-to-left scripts will return RTL. All left-to-right scripts will return LTR.

Scripts that can be written either right-to-left or left-to-right will return INVALID.

Unknown scripts will return LTR.

Parameters:

script

The Script to query

Returns:

The horizontal Direction of script