pat&nbsp;textDirection)</pre>
<div class="block">Sets the text direction heuristic for the layout.
 <p>
 TextDirectionHeuristicCompat describes how to evaluate the text
 of this Layout to know whether to use RTL or LTR text direction</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>textDirection</code> - The text direction heuristic for the layout</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>This <a href="../../../../com/facebook/fbui/textlayoutbuilder/TextLayoutBuild