C# Class InTheHand.UI.Color

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

Public Methods

Method 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 method

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

FromArgb() public static method

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
return Color

FromCOLORREF() public static method

public static FromCOLORREF ( uint color ) : Color
color uint
return Color