Unit 'LCLIntf' Package
[Overview][Types][Procedures and functions][Variables][Index] [#lcl]

IsRectEmpty

Returns True if the rectangle is empty.

Declaration

Source position: winapih.inc line 327

function IsRectEmpty(

  const ARect: TRect

):Boolean;

Function result

True if the rectangle is empty.

Description

IsEmptyRect returns true if the area of the rectangle is empty, i.e. has a zero or negative width or height.