set_base_dir


Description:

public void set_base_dir (Direction direction)

Sets the base direction for the context.

The base direction is used in applying the Unicode bidirectional algorithm; if the direction is LTR or RTL, then the value will be used as the paragraph direction in the Unicode bidirectional algorithm. A value of WEAK_LTR or WEAK_RTL is used only for paragraphs that do not contain any strong characters themselves.

Parameters:

this

a Context

direction

the new base direction