Share via


Color.Equals Method (Color)

Test a color to see if it is equal to the color in this instance.

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

Syntax

public bool Equals (
         Color other
)

Parameters

  • other
    A four-component color.

Return Value

True if they 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