Garry's Mod Wiki


MarkupObject:Draw( number xOffset, number yOffset, number xAlign, number yAlign, number alphaoverride = 255 )


Draws the computed markupobject to the screen.


1 number xOffset
The X coordinate on the screen.
2 number yOffset
The Y coordinate on the screen.
3 number xAlign
The alignment of the x coordinate using Enums/TEXT_ALIGN
4 number yAlign
The alignment of the y coordinate using Enums/TEXT_ALIGN
5 number alphaoverride = 255
Sets the alpha of all drawn objects to this.

Page Links

Special Pages



Render Time: 86ms

DB GetPage 41
Generate Html 14
SaveChanges (1) 9
Render Body 0
Render Sidebar 19