Garry's Mod Wiki

Revision Difference

Enums/TEXT_ALIGN#516124

<cat>enum</cat> <enumeration> <description>Enumerations used by <page>draw.SimpleText</page>, <page>draw.DrawText</page> and in <page>TextData</page>.</description> <fields>{{EnumField|TEXT_ALIGN_LEFT|0|Align the text on the left</fields>⤶ <fields>⤶ <item key="TEXT_ALIGN_LEFT" value="0">Align the text on the left</item>⤶ <item key="TEXT_ALIGN_CENTER" value="1">Align the text in center</item>⤶ <item key="TEXT_ALIGN_RIGHT" value="2">Align the text on the right</item>⤶ <item key="TEXT_ALIGN_TOP" value="3">Align the text on the top</item>⤶ <item key="TEXT_ALIGN_BOTTOM" value="4">Align the text on the bottom</item>⤶ </fields>⤶ </enumeration> ⤶ ⤶ {{EnumField|TEXT_ALIGN_CENTER|1|Align the text in center}}⤶ {{EnumField|TEXT_ALIGN_RIGHT|2|Align the text on the right}}⤶ {{EnumField|TEXT_ALIGN_TOP|3|Align the text on the top}}⤶ {{EnumField|TEXT_ALIGN_BOTTOM|4|Align the text on the bottom}}⤶ }}