我有一些代码来绘制一些文本:
var textFormat = new SharpDX.DirectWrite.TextFormat(fontFactory, "Arial", SharpDX.DirectWrite.FontWeight.Bold,
SharpDX.DirectWrite.FontStyle.Normal, SharpDX.DirectWrite.FontStretch.Condensed, 16.0f);
renderTarget.DrawText("AC", textFormat, textRect, textBrush, DrawTextOptions.NoSnap);
文本从目标矩形的左上角开始绘制。有什么方法可以使文本右对齐?