MaxWidthBehavior
Introduction
Code Example
Text clampText = TextManager.AddText(
"Hello I am some long text. I need to be long so that I extend past the max width");
clampText.MaxWidth = 10;
Text wrapText = TextManager.AddText(
"Hello I am some long text. I need to be long so that I extend past the max width");
wrapText.MaxWidthBehavior = MaxWidthBehavior.Wrap;
wrapText.MaxWidth = 10;
wrapText.Y = -5;Last updated
Was this helpful?