Rectangle.op_Equality Method

Compares two rectangles for equality.

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

Syntax

public static bool op_Equality (
         Rectangle a,
         Rectangle b
)

Parameters

Return Value

true if the rectangles are equal; false otherwise.

See Also

Reference

Rectangle Structure
Rectangle Members
Microsoft.Xna.Framework Namespace

Platforms

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