RectangleEquals Method

Tests whether obj is a Rectangle structure with the same location and size of this Rectangle structure.

Namespace:  System.Drawing
Assembly:  Aspose.Drawing (in Aspose.Drawing.dll) Version: 20.9.0.0 (20.9.0)
Syntax
C#
public override bool Equals(
	Object obj
)

Parameters

obj
Type: SystemObject
The Object to test.

Return Value

Type: Boolean
his method returns true if obj is a Rectangle structure and its X, Y, Width, and Height properties are equal to the corresponding properties of this Rectangle structure; otherwise, false.
See Also