RectangleF.Equals

RectangleF.Equals method

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

public override bool Equals(object obj)
ParameterTypeDescription
objObjectThe Object to test.

Return Value

This method returns true if obj is a RectangleF and its X, Y, Width, and Height properties are equal to the corresponding properties of this RectangleF; otherwise, false.

See Also