Sign in Join
FPDoc Onlineexperiment

PtInRect function

In unit LCLIntf

Checks whether a Point is within a Rect.

Declaration

pascal
function PtInRect(const Rect: TRect; const Point: TPoint): Boolean

Function result

True when Point is within Rect.

Description

Top and Left side are part of the rectangle, but Bottom and Right side are outside.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.