TextWidth

FormattedText.TextWidth property

获取文本的宽度。

public float TextWidth { get; }

也可以看看