C# Class System.Drawing.KnownColors

Afficher le fichier Open project: mono/mono Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
GetSysColor ( GetSysColorIndex index ) : uint
KnownColors ( )
RetrieveWindowsSystemColors ( ) : void

Method Details

FindColorMatch() public static méthode

public static FindColorMatch ( Color c ) : Color
c Color
Résultat Color

FromKnownColor() public static méthode

public static FromKnownColor ( KnownColor kc ) : Color
kc KnownColor
Résultat Color

GetName() public static méthode

public static GetName ( KnownColor kc ) : string
kc KnownColor
Résultat string

GetName() public static méthode

public static GetName ( short kc ) : string
kc short
Résultat string

Update() public static méthode

public static Update ( int knownColor, int color ) : void
knownColor int
color int
Résultat void