Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

TextWrapMode

Description

Text wrap mode for GUI Rendering.

Variables

WrapText will wrap within the given bounds. Text that does not fit (y axis) will be clipped.
ResizeBoundsText rendering ignores bounds.
ShrinkTextIf the text does not fit in the given bounds it will be resized until it fits in the bounds.
GrowTextGrow the text so that it fills the given bounds.
BestFitShrink or Grow the text so that it fits the given area as best it can.