System.Types.TRectF.IsEmpty

From RAD Studio API Documentation
Jump to: navigation, search

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 TRectF

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.

See Also