Garry's Mod Wiki

Revision Difference

Global.VGUIRect#511391

<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>⤶ <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>⤶ ⤶