Wraps System.Drawing.Color object for easier usage. More...
Public Member Functions | |
| Color (float r, float g, float b, float a=1) | |
| Color | WithAlpha (float a) |
| Creates new Color from current Color, with alpha applied to it. More... | |
| System.Drawing.Color | ToSystemColor () |
| Creates a System.Drawing.Color from this Color. More... | |
| override string | ToString () |
| Returns a string that represents the current Color. More... | |
Static Public Member Functions | |
| static implicit | operator ColorB (Color value) |
| static implicit | operator Color (ColorB value) |
| static implicit | operator ColorF (Color value) |
| Implicitly converts the Color to a ColorF. More... | |
| static implicit | operator Color (ColorF value) |
| Implicitly converts the ColorF to a Color. More... | |
| static Color | FromRGB (float r, float g, float b) |
| Creates a Color from given components. More... | |
Properties | |
| static Color | Red [get] |
| static Color | Yellow [get] |
| static Color | Green [get] |
| static Color | Cyan [get] |
| static Color | SkyBlue [get] |
| static Color | Blue [get] |
| static Color | Pink [get] |
| static Color | White [get] |
| static Color | LiteGray [get] |
| static Color | Gray [get] |
| static Color | DarkGray [get] |
| static Color | Black [get] |
| static Color | Transparent [get] |
Wraps System.Drawing.Color object for easier usage.
|
inline |
|
inline static |
Creates a Color from given components.
| r | The red component. |
| g | The green component. |
| b | The blue component. |
|
inline static |
|
inline static |
|
inline static |
|
inline static |
|
inline |
|
inline |
Creates a System.Drawing.Color from this Color.
|
inline |
| float CryEngine.Color.A |
| float CryEngine.Color.B |
| float CryEngine.Color.G |
| float CryEngine.Color.R |
|
static get |
|
static get |
|
static get |
|
static get |
|
static get |
|
static get |
|
static get |
|
static get |
|
static get |
|
static get |
|
static get |
|
static get |
|
static get |