System.Types.TRect.IsEmpty
Delphi
function IsEmpty: Boolean;
C++
bool IsEmpty() const _ALWAYS_INLINE {
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.Types.pas SystemTypes.h |
System.Types | TRect |
Description
Tests whether the rectangle is empty.
IsEmpty returns the Boolean value True if the rectangle is empty. Otherwise, it returns False.
Note: Before calling IsEmpty, make sure the rectangle is normalized.