draw.TextShadow
From GMod Wiki
Function | |
Syntax |
draw.TextShadow( DrawText values, Number distance, Number alpha ) Where is this used? |
Description: | |
Draws text with a drop shadow behind it. | |
Returns: | Number width, Number height |
Part of Library: | Draw |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Draw.TextShadow]Draw.TextShadow [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- values - See draw.Text for an explanation of this parameter.
- distance - How far down and to the right the shadow is from the main text.
- alpha - Transparency of the shadow, 0 - 255 (with 255 being completely transparent). If this value is not given, the alpha defaults to 200.