G.VGUIRect
From GMod Wiki
| Function | |
| Syntax | VGUIRect( Number  x Number  y Number  w Number  h ) Where is this used? | 
| Description: | |
| Creates a DShape rectangle. | |
| Returns: | DShape | 
| Part of Library: | Global Functions | 
| Realm: |  | 
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=G.VGUIRect]G.VGUIRect [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] | 
	
Example
| Description | Draw a rectangle. | 
|---|---|
| Used on |  | 
| Code | local rect = VGUIRect( 10, 10, 100, 50 ) rect:SetParent( frame ) rect:SetColor( color_black ) | 
| Output | 
 
			
			