DColouredBox

From GMod Wiki

Jump to: navigation, search
Derma Control: DColouredBox
Parent Class:DPanel
Subclasses:
Description:
Creates a color cube

Examples

DescriptionCreates a color cube.
Used onNewerClient.png
Code
 
 
local colorCircle = vgui.Create( "DColouredBox", frame )
colorCircle:SetPos( 10, 30 )
colorCircle:SetSize( 100, 100 )
 
colorCircle:SetColor( Color( 0, 0, 255))
 
 
OutputDColouredBox.PNG


Methods

NewerClient.png DColorCube.SetColor

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox