Rectangle.Equals Method (Microsoft.Xna.Framework)

Compares whether current instance is equal to specified Rectangle.

Namespace: Microsoft.Xna.Framework
Assembly: MonoGame.Framework (MonoGame.Framework.dll
  • C#
  • VB
  • F#
public sealed bool Equals(
	Rectangle other

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.


Type: Microsoft.Xna.Framework.Rectangle
The Rectangle to compare.

Return Value

Type: System.Boolean
true if the instances are equal; false otherwise.
Supported in:

 Windows DirectX Desktop
 Linux Desktop
 Windows OpenGL Desktop