Ui::setTextWrap

From RAGE Multiplayer Wiki
Revision as of 20:52, 6 May 2017 by Marty uploader (talk | contribs) (yay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

It sets the text in a specified box and wraps the text if it exceeds the boundries. Both values are for X axis. Useful when positioning text set to center or aligned to the right.

start - left boundry on screen position (0.0 - 1.0)
end - right boundry on screen position (0.0 - 1.0)

Syntax

ui.setTextWrap(start, end);

Required Arguments

  • start: float
  • end: float

Return value

  • Undefined

Example

todo

See also

Template:Ui function c