Garry's Mod Wiki

Revision Difference

Global.VGUIRect#552336

<function name="VGUIRect" parent="Global" type="libraryfunc"> <description>Creates and returns a <page>DShape</page> rectangle GUI element with the given dimensions.</description> <realm>Client</realm> <file line="33-L39">lua/vgui/dshape.lua</file>⤶ <args> <arg name="x" type="number">X position of the created element</arg> <arg name="y" type="number">Y position of the created element</arg> <arg name="w" type="number">Width of the created element</arg> <arg name="h" type="number">Height of the created element</arg> </args> <rets> <ret name="" type="Panel"><page>DShape</page> element</ret> </rets> </function>