Revision Difference
Structures/TextData#516898
<cat>struct</cat>
{{Structure⤶
|Description=Used for <page>draw.Text</page>.⤶
|Fields={{StructureField|string|text|Text to be drawn.}}{{StructureField|string|font|The font to draw with. List of default fonts can be found [here](/gmod/Default_Fonts).|"DermaDefault"}}{{StructureField|table|pos|This holds the X and Y coordinates. Key value 1 is x, key value 2 is y.}}{{StructureField|number|xalign|The alignment of the X position. See <page>TEXT_ALIGN</page>|TEXT_ALIGN_LEFT}}{{StructureField|number|yalign|The alignment of the Y position. See <page>TEXT_ALIGN</page>|TEXT_ALIGN_TOP}}{{StructureField|table|color|The text color|color_white}}⤶
<structure>⤶
<description>Used for <page>draw.Text</page>.</description>⤶
<fields>{{StructureField|string|text|Text to be drawn.</fields>⤶
⤶
</structure>⤶
⤶
{{StructureField|string|font|The font to draw with. List of default fonts can be found [here](/gmod/Default_Fonts).|"DermaDefault"}}{{StructureField|table|pos|This holds the X and Y coordinates. Key value 1 is x, key value 2 is y.}}{{StructureField|number|xalign|The alignment of the X position. See <page>TEXT_ALIGN</page>|TEXT_ALIGN_LEFT}}{{StructureField|number|yalign|The alignment of the Y position. See <page>TEXT_ALIGN</page>|TEXT_ALIGN_TOP}}{{StructureField|table|color|The text color|color_white}}⤶
}}