Garry's Mod Wiki

Revision Difference

draw.TextShadow#515417

<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"/>⤶ </description>⤶ <realm>Client and Menu</realm>⤶ <file line="265-L285">lua/includes/modules/draw.lua</file>⤶ <args>⤶ <arg name="textdata" type="table">The text properties. See &lt;page&gt;TextData&lt;/page&gt;</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>⤶ ⤶