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