Garry's Mod Wiki


  number, number draw.TextShadow( table textdata, number distance, number alpha = 200 )


Works like draw.Text, but draws the text as a shadow.

This is a rendering function that requires a 2d rendering context.

This means that it will only work in 2d Rendering Hooks.


1 table textdata
The text properties. See TextData structure
2 number distance
How far away the shadow appears.
3 number alpha = 200
How visible the shadow is (0-255).


1 number textWidth
The width of drawn text.
2 number textHeight
The height of drawn text.