T2DPointArray

From SCAR Divi Manual
Jump to: navigation, search

Definition

T2DPointArray = array of TPointArray;

Availability

SCAR Divi 3.00 > Current

Description

A dynamic 2 dimensional array type based on the TPoint type.

Example

var
  ATPA: T2DPointArray;

begin
  SetLength(ATPA, 3);
  ATPA[0] := [Point(1, 1), Point(2, 2)];
  ATPA[1] := [Point(3, 3), Point(4, 4)];
  ATPA[2] := [Point(5, 5), Point(6, 6)];
  WriteLn(TPAToStr(MergeATPA(ATPA)));
end.

Output:

(1,1);(2,2);(3,3);(4,4);(5,5);(6,6)

See Also