Context.setBaseDir

Sets the base direction for the context.

The base direction is used in applying the Unicode bidirectional algorithm; if the direction is pango.types.Direction.Ltr or pango.types.Direction.Rtl, then the value will be used as the paragraph direction in the Unicode bidirectional algorithm. A value of pango.types.Direction.WeakLtr or pango.types.Direction.WeakRtl is used only for paragraphs that do not contain any strong characters themselves.

class Context
void
setBaseDir

Parameters

direction pango.types.Direction

the new base direction