Garry's Mod Wiki

TEXT_ALIGN

Description

Enumerations used by draw.SimpleText, draw.DrawText and in TextData structure.

Values

TEXT_ALIGN_LEFT0Align the text on the left
TEXT_ALIGN_CENTER1Align the text in center
TEXT_ALIGN_RIGHT2Align the text on the right
TEXT_ALIGN_TOP3Align the text on the top
TEXT_ALIGN_BOTTOM4Align the text on the bottom