Posted by Michael Schmid on Jun 30, 2019; 2:39pm URL: http://imagej.273.s1.nabble.com/ImageProcessor-drawPolyline-tp5022297p5022298.html
Hi Kenneth,
you can create a PolygonRoi (with type polyline) and use
roi.drawPixels(ip) or (equivalent) ip.draw(roi). This is how the ImageJ
'Draw' command does it:
Michael
__________________________________________________
On 29/06/2019 11:26 PM, Kenneth Sloan wrote:
> I need to draw a polyline on an ImageProcessor. I see drawPolygon(), but no drawPolyline().
>
> Is this intentional?
>
> Do I lose anything by writing my own to use multiple drawLine() calls?
> --
> Kenneth Sloan