C# Class InTheHand.UI.Color

Describes a color in terms of alpha, red, green, and blue channels.
Afficher le fichier Open project: inthehand/Charming

Méthodes publiques

Méthode Description
Equals ( Color color ) : bool

Compares two Color structures for equality.

FromArgb ( byte a, byte r, byte g, byte b ) : Color

Creates a new Color structure by using the specified sRGB alpha channel and color channel values.

FromCOLORREF ( uint color ) : Color

Method Details

Equals() public méthode

Compares two Color structures for equality.
public Equals ( Color color ) : bool
color Color The structure to compare to this .
Résultat bool

FromArgb() public static méthode

Creates a new Color structure by using the specified sRGB alpha channel and color channel values.
public static FromArgb ( byte a, byte r, byte g, byte b ) : Color
a byte
r byte
g byte
b byte
Résultat Color

FromCOLORREF() public static méthode

public static FromCOLORREF ( uint color ) : Color
color uint
Résultat Color