draw.RoundedBox

From GMod Wiki

Jump to: navigation, search
Function
Syntax draw.RoundedBox( Number Bordersize, Number X, Number Y, Number Width, Number Height, Color Color )
Where is this used?
Description:
Draws a rounded box on the screen.
Returns: nil
Part of Library: Draw
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Draw.RoundedBox]Draw.RoundedBox [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionDraw a white rounded box
Used onNewerClient.png
Code
draw.RoundedBox( 6, 100, 50, 100, 23, Color( 255, 255, 255, 150 ) )
OutputDraws a white rounded box with dimensions 100x23 at screen position 100, 50.


Additional Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox