TPACombine

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

Definition

function TPACombine(const TPA1, TPA2: TPointArray): TPointArray;

Availability

SCAR Divi 3.26 > Current

Aliases

  • CombineTPA (SCAR Divi 3.20b > Current)

Description

Appends the given TPointArray TPA2 to end the given TPointArray TPA1 and returns it.

Example

begin
  WriteLn('TPointArray[' +TPAToStr(TPACombine([Point(0, 0), Point(1, 2),
    Point(5, 6)], [Point(-5, 2), Point(1, 3)])) + ']');
end.

Output:

TPointArray[(0,0);(1,2);(5,6);(-5,2);(1,3)]