image processing - How can i close polyline object in Delphi? -


i using code listed below:

 hobj:= imageenvect1.addnewobject(iekpolyline, blob.boundingbox, clgreen);  imageenvect1.polylineclosingmode:=iecmonnearfinish;  imageenvect1.setobjpolylinepoints(hobj,pplist); 

and these not connected polygons:

enter image description here

how can connect last points , first points of these polygons?

from documentation http://www.imageen.com/help/imageen/timageenvect.polylineclosingmode.html

iecmalways means closes.

with iecmonnearfinish close if end position of polyline close start.


Comments

Popular posts from this blog

gridview - Yii2 DataPorivider $totalSum for a column -

java - Suppress Jboss version details from HTTP error response -

Sass watch command compiles .scss files before full sftp upload -