C# Class OpenBveApi.Colors.Color96

Represents a 96-bit color with red, green and blue channels at 32 bits each.
Afficher le fichier Open project: leezer3/OpenBVE Class Usage Examples

Méthodes publiques

Свойство Type Description
B float
Black Color96
Blue Color96
Cyan Color96
G float
Green Color96
Magenta Color96
R float
Red Color96
White Color96
Yellow Color96

Méthodes publiques

Méthode Description
Color96 ( float r, float g, float b ) : System

Creates a new color.

operator ( ) : bool

Checks whether two colors are equal.

Method Details

Color96() public méthode

Creates a new color.
public Color96 ( float r, float g, float b ) : System
r float The red component.
g float The green component.
b float The blue component.
Résultat System

operator() public static méthode

Checks whether two colors are equal.
public static operator ( ) : bool
Résultat bool

Property Details

B public_oe property

The blue component.
public float B
Résultat float

Black public_oe static_oe property

Represents a black color.
public static Color96,OpenBveApi.Colors Black
Résultat Color96

Blue public_oe static_oe property

Represents a blue color.
public static Color96,OpenBveApi.Colors Blue
Résultat Color96

Cyan public_oe static_oe property

Represents a cyan color.
public static Color96,OpenBveApi.Colors Cyan
Résultat Color96

G public_oe property

The green component.
public float G
Résultat float

Green public_oe static_oe property

Represents a green color.
public static Color96,OpenBveApi.Colors Green
Résultat Color96

Magenta public_oe static_oe property

Represents a magenta color.
public static Color96,OpenBveApi.Colors Magenta
Résultat Color96

R public_oe property

The red component.
public float R
Résultat float

Red public_oe static_oe property

Represents a red color.
public static Color96,OpenBveApi.Colors Red
Résultat Color96

White public_oe static_oe property

Represents a white color.
public static Color96,OpenBveApi.Colors White
Résultat Color96

Yellow public_oe static_oe property

Represents a yellow color.
public static Color96,OpenBveApi.Colors Yellow
Résultat Color96