Color.operator ==

public static bool operator ==(Color lhs, Color rhs);

Description

Returns true if two Colors are approximately equal.

To allow for floating point inaccuracies, the two Colors are considered equal if the magnitude of their difference is less than 1e-5. If you want an exact equality check, use Color.Equals().


Did you find this page useful? Please give it a rating: