Garry's Mod Wiki

Revision Difference

Panel:PaintAt#551391

<function name="PaintAt" parent="Panel" type="classfunc"> <description> Paints a ghost copy of the panel at the given position. <warning> Breaks Z pos of panel <page>PANEL:SetZPos</page>⤶ This function sets Z pos of panel's children (<page>PANEL:SetZPos</page>)⤶ </warning> </description> <realm>Client and Menu</realm> <args> <arg name="posX" type="number">The x coordinate to draw the panel from.</arg> <arg name="posY" type="number">The y coordinate to draw the panel from.</arg> </args> </function>