C# Class ImageProcessor.Common.Extensions.RectangleExtensions

Extensions to the rectangle structure.
Show file Open project: JimBobSquarePants/ImageProcessor

Public Methods

Method Description
IsEqual ( this first, Rectangle second, int threshold ) : bool

Compares two rectangles for equality, considering an acceptance threshold.

Method Details

IsEqual() public static method

Compares two rectangles for equality, considering an acceptance threshold.
public static IsEqual ( this first, Rectangle second, int threshold ) : bool
first this The first rectangle.
second System.Drawing.Rectangle The second rectangle
threshold int The threshold.
return bool