| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Returns true if APoint is inside ARect rectangle
Source position: fpg_base.pas line 780
function PtInRect(  | 
const ARect: TfpgRect;  | 
const APoint: TPoint  | 
):Boolean;  | 
This function is used to detect if the point APoint is inside the given rectangle ARect. If it is, the function returns True, otherwise False.