Revision Difference
string.FromColor#512004
<function name="FromColor" parent="string" type="libraryfunc">⤶
<description>Creates a string from a Color variable.</description>⤶
<realm>Shared and Menu</realm>⤶
<file line="326">lua/includes/extensions/string.lua</file>⤶
<args>⤶
<arg name="color" type="table">The color to put in the string.</arg>⤶
</args>⤶
<rets>⤶
<ret name="" type="string">Output</ret>⤶
</rets>⤶
</function>⤶
⤶
<example>⤶
<description>Demonstrates the use of string.FromColor</description>⤶
<code>MsgN(string.FromColor(Color(255, 0, 255, 125)))</code>⤶
<output>"255 0 255 125"</output>⤶
⤶
</example>