Difference between revisions of "GetColors"
From SCAR Divi Manual
(Created page with "==Definition== <source lang="scar" lines="false"> function GetColors(Coords: TPointArray): TIntegerArray; </source> ==Availability== SCAR Divi 3.00 > Current ==Description== Ge...") |
(No difference)
|
Revision as of 16:47, 5 July 2011
Definition
function GetColors(Coords: TPointArray): TIntegerArray;
Availability
SCAR Divi 3.00 > Current
Description
Gets the color of the pixels specified by the coordinates in the TPointArray Coords and returns them in a TIntegerArray with the same order.
Example
var
i: Integer;
ia: TIntegerArray;
begin
ia := GetColors([Point(0, 5), Point(50, 78), Point(79, 47)]);
for i := Low(ia) to High(ia) do
WriteLn(ia[i]);
end.