C# Class Mosa.DeviceSystem.Color

Color
Mostrar archivo 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_oe property

Alpha
public byte Alpha
return byte

Blue public_oe property

Blue
public byte Blue
return byte

Green public_oe property

Green
public byte Green
return byte

Red public_oe property

Red
public byte Red
return byte

Transparent public_oe static_oe property

public static Color,Mosa.DeviceSystem Transparent
return Color