TRect.Equals

Do the corners of the rectangles match

Declaration

Source position: objects.pp line 271

default 
  function Equals(R: TRect) : Boolean;

Description

Equals returns True if the rectangle has the same corner points A,B as the rectangle R, and False otherwise.

For an example, see TRect.Empty

Errors

None.

See also

Name Description
TRect.Contains Determine if a point is inside the rectangle
TRect.Empty Is the surface of the rectangle zero