Garry's Mod Wiki

Revision Difference

DImage:PaintAt#554172

<function name="PaintAt" parent="DImage" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Paints a ghost copy of the DImage panel at the given position and dimensions. This function overrides <page>Panel:PaintAt</page>.</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> <arg name="width" type="number">The width of the panel image to be drawn.</arg> <arg name="height" type="number">The height of the panel image to be drawn.</arg> </args> </function>