C# Class Mosa.DeviceSystem.Color

Color
Show file Open project: tgiphil/MOSA-Project Class Usage Examples

Public Properties

Property Type Description
Alpha byte
Blue byte
Green byte
Red byte
Transparent Color

Public Methods

Method Description
Color ( byte red, byte green, byte blue )

Initializes a new instance of the Color struct.

Color ( byte red, byte green, byte blue, byte alpha )

Initializes a new instance of the Color struct.

IsEqual ( Color color ) : bool

Determines whether the specified color is equal.

Method Details

Color() public method

Initializes a new instance of the Color struct.
public Color ( byte red, byte green, byte blue )
red byte The red.
green byte The green.
blue byte The blue.

Color() public method

Initializes a new instance of the Color struct.
public Color ( byte red, byte green, byte blue, byte alpha )
red byte The red.
green byte The green.
blue byte The blue.
alpha byte The alpha.

IsEqual() public method

Determines whether the specified color is equal.
public IsEqual ( Color color ) : bool
color Color The color.
return bool

Property Details

Alpha public property

Alpha
public byte Alpha
return byte

Blue public property

Blue
public byte Blue
return byte

Green public property

Green
public byte Green
return byte

Red public property

Red
public byte Red
return byte

Transparent public static property

public static Color,Mosa.DeviceSystem Transparent
return Color