PeachDrawing.Core

PeachDrawing.Core.Rect

Rect.operator ==(Rect, Rect) Operator

Tests whether two Rect structures have equal location and size.

public static bool operator ==(PeachDrawing.Core.Rect left, PeachDrawing.Core.Rect right);

Parameters

left Rect

The Rect structure that is to the left of the equality operator.

right Rect

The Rect structure that is to the right of the equality operator.

Returns

System.Boolean
This operator returns true if the two specified Rect structures have equal X, Y, Width, and Height properties.