Hi Everyone,
If I create 2 lines:
with ImageEnVect1 do
begin
ObjKind[-1] := iekLINE;
ObjLeft[-1] := 0; ObjTop[-1] := 0;
ObjWidth[-1] := 100; ObjHeight[-1] := 100;
ObjPenColor[-1] := clRed;
ObjPenWidth[-1] := 10;
AddNewObject;
end;
with ImageEnVect1 do
begin
ObjKind[-1] := iekLINE;
ObjLeft[-1] := 0; ObjTop[-1] := 200;
ObjWidth[-1] := 100; ObjHeight[-1] := 100;
ObjPenColor[-1] := clBlue;
//ObjPenWidth is still 10 from previous object
AddNewObject;
end;
then the second line will also have a ObjPenWidth of 10.
So the lines will be different if I move the 2 blocks of code around (create blue line first).
How can I reset the TImageEnVect.fNewObj to it's initial/default values? (I am using ImageEn 5.0.6)
Regards
Eric