The RGBAColor type exposes the following members.
Operators
| Name | Description | |
|---|---|---|
| Addition |
Adds the color components of two colors
| |
| Equality | ||
| ExplicitNarrowingExplicitExplicitExplicit(RGBAColor to Color) |
Explicit cast from color to C# color
| |
| ImplicitWideningImplicitImplicitImplicit(Color to RGBAColor) |
Casts a C# color to a color
| |
| ImplicitWideningImplicitImplicitImplicit(RGBAColor to Vector4D) |
Casts a color to a 4d-vector
| |
| ImplicitWideningImplicitImplicitImplicit(Vector4D to RGBAColor) |
Casts a 4d-vector to a color
| |
| Inequality | ||
| LogicalNot |
! color, calculates the complementary color
| |
| Multiply(Double, RGBAColor) |
Multiplies a factor with a color
| |
| Multiply(RGBAColor, Double) |
Multiplies a color with a factor
| |
| Multiply(RGBAColor, RGBAColor) |
Multiplies two colors, RGBA component wise
| |
| OnesComplement |
~ color, calculates the brighness of a color with the formula 0.222 * R + 0.707 * G + 0.071 * B
| |
| Subtraction |
Subtracts the color components of two colors
| |
| UnaryNegation |
- color, flips the sign off all color components
| |
| UnaryPlus |
+ color, makes no changes to a color
|