Garry's Mod Wiki

MarkupObject:Draw

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

Description

Draws the computed markupobject to the screen.

Arguments

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


Wikis

?

Render Time: 40ms

DB GetPage 3
Generate Html 14
SaveChanges (1) 9
Render Body 0
Render Sidebar 12