diff --git a/stepmania/Docs/LuaDocumentation.xml b/stepmania/Docs/LuaDocumentation.xml index 323e556d09..b01cb67487 100644 --- a/stepmania/Docs/LuaDocumentation.xml +++ b/stepmania/Docs/LuaDocumentation.xml @@ -71,6 +71,9 @@ Flushes log files to disk. + + Returns the length of the multi-byte character string sString. + @@ -118,6 +121,26 @@ + + Add the attribute attr to the string at position + iPos.
+ The attribute is a table that must contain Length + which specifies how many (multi-byte) characters the attribute + is to apply. If Length=-1, then the attribute applies + until another attribute overrides it.
+ If the table contains Diffuse, then the color value + is applied to the range of text.
+ If the table contains Diffuses, then it should be + an array of 4 colors which specify the diffuse color for the + top left, top right, bottom left, and bottom right.
+ If the table contains Glow, then the color value + is applied as a glow to the range of text.
+ Example:
+ attr = { Length = 10; Diffuse = color("#AABBCC"); } +
+ + Clear all attributes associated with the BitmapText. + Returns the text. @@ -134,7 +157,7 @@ If true, set each character of the text in turn to the rainbow colors in the metrics BitmapText::RainbowColor#. - Set the text to sText. + Set the text to sText. This clears all attributes. Add iSpacing pixels of padding between lines of text.