TIEPolylineLayer.ClearAllPoints
Declaration
procedure ClearAllPoints();
Description
Removes all points from the polyline.
// Draw a triangle polygon
With TIEPolylineLayer( ImageEnView1.CurrentLayer ) do
begin
ClearAllPoints();
AddPoint( 500, 0 );
AddPoint( 1000, 1000 );
AddPoint( 0, 1000 );
PolylineClosed := True;
end;
ImageEnView1.Update();
See Also
◼RemovePoint◼AddPoint◼SetPoints◼Points