RectangleF.op_Equality

RectangleF Equality operator

Tests whether two RectangleF structures have equal location and size.

public static bool operator ==(RectangleF left, RectangleF right)
ParameterTypeDescription
leftRectangleFThe RectangleF structure that is to the left of the equality operator.
rightRectangleFThe RectangleF structure that is to the right of the equality operator.

Return Value

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

See Also