Rectangle.Equals

Rectangle.Equals method

Check if rectangles are equal i.e. have same position and sizes.

public bool Equals(Rectangle other)
ParameterTypeDescription
otherRectangleRectangle which will be compared.

Return Value

True if rectangles are eqals, false otherwise.

See Also