TPAArea

From SCAR Divi Manual
Revision as of 09:04, 3 July 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> function TPAArea(const TPA: TPointArray): Integer; </source> ==Availability== SCAR Divi 3.26 > Current ==Description== Returns...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

function TPAArea(const TPA: TPointArray): Integer;

Availability

SCAR Divi 3.26 > Current

Description

Returns the size of the area covered by a given TPointArray TPA.

Example

begin
  WriteLn(TPAArea([Point(0, 0), Point(1, 2), Point(5, 4)]));
end.

Output:

30

See Also