Color Operators

SFML.Net

Color Operators

The Color type exposes the following members.

Operators
  Name Description
Public operator Static member Addition
This operator returns the component-wise sum of two colors. Components that exceed 255 are clamped to 255.
Public operator Static member Equality
Compare two colors and checks if they are equal
Public operator Static member Inequality
Compare two colors and checks if they are not equal
Public operator Static member Multiply
This operator returns the component-wise multiplication of two colors. Components above 255 are clamped to 255.
Public operator Static member Subtraction
This operator returns the component-wise subtraction of two colors. Components below 0 are clamped to 0.
Top
See Also