draw.TextShadow

From Garry's Mod
Jump to: navigation, search
 draw.TextShadow( )

Contents

Description

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

NOTE

This is a rendering function that requires a 2D rendering context.
This means that it will only work in hooks with a 2D rendering context.

Arguments

table textdata

The text properties. See TextData structure

Arguments

number distance

How far away the shadow appears.

Arguments

number alpha=200

How visible the shadow is (0-255).
Personal tools
Navigation