Share via


Color.Equals Method (Object)

Test an instance of a color object to see if it is equal to this object.

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

Syntax

public override bool Equals (
         Object obj
)

Parameters

  • obj
    A color object.

Return Value

True if they are equal; otherwise false.

See Also

Reference

Color Structure
Color Members
Microsoft.Xna.Framework Namespace

Platforms

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