Rectangle.NearEquals

Rectangle.NearEquals method

Check if rectangles are near equal i.e. have near same (up to delta) position and sizes.

public bool NearEquals(Rectangle other, double delta)
ParameterTypeDescription
otherRectangleRectangle which will be compared.
deltaDoubleValue of comparation tollerance.

Return Value

True if rectangles are eqals, false otherwise.

See Also