Property | Type | Description | |
---|---|---|---|
A | float | ||
B | float | ||
Black | |||
Blue | |||
Cyan | |||
G | float | ||
Green | |||
Magenta | |||
R | float | ||
Red | |||
Transparent | |||
White | |||
Yellow |
Method | Description | |
---|---|---|
Color128 ( |
Creates a new color. The alpha component is set to full opacity. |
|
Color128 ( |
Creates a new color.
|
|
Color128 ( float r, float g, float b ) : System |
Creates a new color. The alpha component is set to full opacity. |
|
Color128 ( float r, float g, float b, float a ) : System |
Creates a new color.
|
|
operator ( ) : bool |
Checks whether two colors are equal.
|
public Color128 ( |
||
color | The solid color. | |
return | System |
public Color128 ( |
||
color | The solid color. | |
a | float | The alpha component. |
return | System |
public Color128 ( float r, float g, float b ) : System | ||
r | float | The red component. |
g | float | The green component. |
b | float | The blue component. |
return | System |
public Color128 ( float r, float g, float b, float a ) : System | ||
r | float | The red component. |
g | float | The green component. |
b | float | The blue component. |
a | float | The alpha component. |
return | System |
public static Color128,OpenBveApi.Colors Magenta | ||
return |
public static Color128,OpenBveApi.Colors Transparent | ||
return |