Garry's Mod Wiki

Garry's Mod Wiki

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

Description

Works like draw.Text, but draws the text with 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 TextData structure.
2 number distance
How far away the shadow appears.
3 number alpha = 200
How visible the shadow is (0-255).

Returns

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

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...