Login  Register

Re: Drawing a filled Line by API functions

Posted by Michael Schmid on May 25, 2011; 3:41pm
URL: http://imagej.273.s1.nabble.com/Drawing-a-filled-Line-by-API-functions-tp3684454p3684455.html

Hi Christian,

if it is a plain line (not the outline of a polygon), use 'fill'  
instead of 'draw'.
A thick line is handled similar to an area in this respect.

Michael
________________________________________________________________

On 24 May 2011, at 18:21, Phase GmbH wrote:

> Hi,
> I have a propably simple problem:
> I want to draw a filled (solid) lin with line width >1 pixel by  
> using API functions.
>
> Until now, I only get an outlined line of the desired width.
>
> What has to be done to get a solid line?
>
> Christian Kreutzfeldt