Garry's Mod Wiki


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 Structures/TextData
2 number distance
How far away the shadow appears.
3 number alpha = 200
How visible the shadow is (0-255).

Page Links

Special Pages



Render Time: 112ms

DB GetPage 55
Generate Html 10
SaveChanges (1) 35
Render Body 0
Render Sidebar 10