MakePath

Delphifunction MakePath(const ints: TArrayOfInteger): TPath64;

Delphifunction MakePath(const dbls: TArrayOfDouble): TPathD;


C++Path64 MakePath(const T(&list)[N]);

C++PathD MakePathD(const T(&list)[N]);


C# public static Path64 MakePath(long[] arr);

C# public static PathD MakePath(double[] arr);


C++ Example:
    Path64 path1 = Clipper2Lib::MakePath({10,10, 100,10, 100,100, 10,100});
  
    
C# Example:
    
    Path64 path = Clipper.MakePath(new int[] {10,10, 100,10, 100,100, 10,100}));
  
    
Delphi Example:
    
  var TPath64;
  ...
    path = MakePath([10,10, 100,10, 100,100, 10,100]);