Garry's Mod Wiki

TextData

Description

Used for draw.Text.

Parameters

text [string]

Text to be drawn.

font [string]

The font to draw with. List of default fonts can be found here.

Default: "\u0022DermaDefault\u0022"

pos [table]

This holds the X and Y coordinates. Key value 1 is x, key value 2 is y.

xalign [number]

The alignment of the X position. See Enums/TEXT_ALIGN

Default: TEXT_ALIGN_LEFT

yalign [number]

The alignment of the Y position. See Enums/TEXT_ALIGN

Default: TEXT_ALIGN_TOP

color [table]

The text color

Default: color_white

Page Links


Special Pages


Wikis

?

Render Time: 48ms

DB GetPage 4
Generate Html 13
SaveChanges (1) 18
Render Body 0
Render Sidebar 10