Login  Register

Re: non-destructive graphic overlay

Posted by Duane and Julie on Sep 28, 2007; 2:38pm
URL: http://imagej.273.s1.nabble.com/non-destructive-graphic-overlay-tp3698303p3698305.html

Tim,

I have never used ImageCanvas.setDisplayList(), but I have written  
multiple colors to a non-destructive graphic overlay.  I create a  
custom canvas and draw to that.

I guess that means it's possible.

    duane

On Sep 27, 2007, at 6:32 AM, Tim de Wit wrote:

> hi,
>
> i was wondering whether it's possible to use two different colors  
> in a non-
> destructive graphic overlay. I tried to use  
> ImageCanvas.setDisplayList()
> but it only allows you to use one color at a time. If i call  
> setDisplayList
> () twice, the first overlay is automatically erased.
>
> thanks,
>
> Tim de Wit