DColorCircle
From GMod Wiki
Derma Control: DColorCircle | |
---|---|
Parent Class: | DSlider |
Subclasses: | |
Description: | |
A circle shaped control for choosing an RGB color. |
Examples
Description | Creates a basic color circle constantly printing its color. (See DColorCircle.GetRGB for the reason 'or Color()' is necessary) |
---|---|
Used on | |
Code | local colorCircle = vgui.Create( "DColorCircle", frame ) colorCircle:SetPos( 10, 30 ) colorCircle:SetSize( 100, 100 ) colorCircle.PaintOver = function() PrintTable( colorCircle:GetRGB() or Color() ) end |
Output |
Methods
DColorCircle.GetRGB
DColorCircle.Init
DColorCircle.PerformLayout
DColorCircle.Think