[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'fpg_base' (#fpgui)

PtInRect

Returns true if APoint is inside ARect rectangle

Declaration

Source position: fpg_base.pas line 780

function PtInRect(

  const ARect: TfpgRect;

  const APoint: TPoint

):Boolean;

Description

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.


Documentation generated on: 2013-04-29