Hi,
I am working on a 2D image processing project and want to draw a region of interest on the colorgrid image for analysis. I found that TDrawLineTool is very powerful for plotting and moving a line, rectangle and ellipse. Is there a similar function/tool for plotting and changing a polygon on the colorgrid series?
Thanks
Xia
Draw Polygon
Hi Xia,
I'm afraid there is no DrawPolygon tool so you should draw your custom polygon. Take a look at this thread where a customer asked for something that may be similar than what you are looking for.
Another possibility could be using a Line series with pointers visible. You could add points with OnMouseDown event and add a final point with the same position as the first point when the user finishes to draw the polygon in order to close the polygon. Also note that DragPoint tool would be useful in this solution.
I'm afraid there is no DrawPolygon tool so you should draw your custom polygon. Take a look at this thread where a customer asked for something that may be similar than what you are looking for.
Another possibility could be using a Line series with pointers visible. You could add points with OnMouseDown event and add a final point with the same position as the first point when the user finishes to draw the polygon in order to close the polygon. Also note that DragPoint tool would be useful in this solution.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |