Color.Equals Method (Color)
Test a color to see if it is equal to the color in this instance.
Syntax
'Declaration
Public Function Equals ( _
other As Color _
) As Boolean
public bool Equals (
Color other
)
public:
bool Equals(
Color other
)
Parameters
- other
Type: Color
A four-component color.
Return Value
Type: Boolean
True if they are equal; false otherwise.
Requirements
Namespace: Microsoft.Xna.Framework
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
See Also
Reference
Color Structure
Color Members
Microsoft.Xna.Framework Namespace
Platforms
Windows Phone