OpenTK.Graphics.Rectangle.operator C# (CSharp) 메소드

operator() 공개 정적인 메소드

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
리턴 bool
        public static bool operator ==(Rectangle left, Rectangle right)
        {
            return ((left.Location == right.Location) &&
                (left.Size == right.Size));
        }