C# Class System.Drawing.KnownColors

Show file Open project: mono/mono Class Usage Examples

Public Methods

Method Description
FindColorMatch ( Color c ) : Color
FromKnownColor ( KnownColor kc ) : Color
GetName ( KnownColor kc ) : string
GetName ( short kc ) : string
Update ( int knownColor, int color ) : void

Private Methods

Method Description
GetSysColor ( GetSysColorIndex index ) : uint
KnownColors ( )
RetrieveWindowsSystemColors ( ) : void

Method Details

FindColorMatch() public static method

public static FindColorMatch ( Color c ) : Color
c Color
return Color

FromKnownColor() public static method

public static FromKnownColor ( KnownColor kc ) : Color
kc KnownColor
return Color

GetName() public static method

public static GetName ( KnownColor kc ) : string
kc KnownColor
return string

GetName() public static method

public static GetName ( short kc ) : string
kc short
return string

Update() public static method

public static Update ( int knownColor, int color ) : void
knownColor int
color int
return void