Color.op_Equality Method

Equality operator.

Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

Syntax

public static bool op_Equality (
         Color a,
         Color b
)

Parameters

  • a
    A four-component color.
  • b
    A four-component color.

Return Value

True if the colors are equal; false otherwise.

See Also

Reference

Color Structure
Color Members
Microsoft.Xna.Framework Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7