SFML.Net
Color Operators |
The Color type exposes the following members.
Operators
Name | Description | |
---|---|---|
Addition |
This operator returns the component-wise sum of two colors.
Components that exceed 255 are clamped to 255.
|
|
Equality |
Compare two colors and checks if they are equal
|
|
Inequality |
Compare two colors and checks if they are not equal
|
|
Multiply |
This operator returns the component-wise multiplication of two colors.
Components above 255 are clamped to 255.
|
|
Subtraction |
This operator returns the component-wise subtraction of two colors.
Components below 0 are clamped to 0.
|
See Also