Garry's Mod Wiki

Revision Difference

draw.TextShadow#546110

<function name="TextShadow" parent="draw" type="libraryfunc"> <description> Works like <page>draw.Text</page>, but draws the text as a shadow. <rendercontext hook="false" type="2D"></rendercontext> </description> <realm>Client and Menu</realm> <file line="265-L285">lua/includes/modules/draw.lua</file> <file line="281-L297">lua/includes/modules/draw.lua</file> <args> <arg name="textdata" type="table">The text properties. See <page>Structures/TextData</page></arg> <arg name="distance" type="number">How far away the shadow appears.</arg> <arg name="alpha" type="number" default="200">How visible the shadow is (0-255).</arg> </args> </function>