TRect.Contains

Determine if a point is inside the rectangle

Declaration

Source position: objects.pp line 272

default 
  function Contains(P: TPoint) : Boolean;

Description

Contains returns True if the point P is contained in the rectangle (including borders), False otherwise.

Errors

None.

See also

Name Description
TRect.Equals Do the corners of the rectangles match
TRect.Intersect Reduce rectangle to intersection with another rectangle

results matching ""

    No results matching ""