OpenTK.Graphics.Rectangle.operator C# (CSharp) Method

operator() public static method

Equality Operator
Compares two Rectangle objects. The return value is based on the equivalence of the Location and Size properties of the two Rectangles.
public static operator ( ) : bool
return bool
        public static bool operator ==(Rectangle left, Rectangle right)
        {
            return ((left.Location == right.Location) &&
                (left.Size == right.Size));
        }