Garry's Mod Wiki

draw.TextShadow

draw.TextShadow

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

Description

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.

Arguments

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).

Special Pages


Wikis

?

Render Time: 50ms

DB GetPage 31
Generate Html 4
SaveChanges (1) 6
Render Body 0
Render Sidebar 6