TPAEmpty

From SCAR Divi Manual
Jump to: navigation, search

Definition

function TPAEmpty(const TPA: TPointArray): Boolean;

Availability

SCAR Divi 3.34 > Current

Description

Returns true if the length of the given TPointArray TPA is 0.

Example

begin
  WriteLn(TPAEmpty([Point(0, 0), Point(1, 1), Point(3, 3)]));
  WriteLn(TPAEmpty([]));
end.

Output:

0
1