次の方法で共有


Color.Equals Method (Color)

Returns a value that indicates whether the current instance is equal to a specified object.

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

Syntax

public bool Equals (
         Color other
)

Parameters

  • other
    The Color to compare with the current Color.

Return Value

true if the objects are the same; false otherwise.

See Also

Reference

Color Structure
Color Members
Microsoft.Xna.Framework.Graphics Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista