TextData Structure

From Garry's Mod
Revision as of 09:46, 21 October 2013 by Robotboy655 (Talk | contribs)
Jump to: navigation, search
Used for draw.Text.

Type Name Description
string text

Text to be drawn.

string font

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

Default: "DermaDefault"

number x

The X coordinate.

number y

The Y coordinate.

number xalign

The alignment of the X position. See Template:EnumLink Default: TEXT_ALIGN_LEFT

number yalign

The alignment of the Y position. See Template:EnumLink Default: TEXT_ALIGN_TOP

number color

The text color Default: color_white

Personal tools