Re: non-destructive graphic overlay
Posted by
Wayne Rasband on
URL: http://imagej.273.s1.nabble.com/non-destructive-graphic-overlay-tp3698303p3698304.html
There is an example at
http://rsb.info.nih.gov/ij/plugins/download/
MultiColor_Graphic_Overlay.java
that demonstrates how to create a display list that uses more than one
color. It requires the latest daily build (1.39f) at
http://rsb.info.nih.gov/ij/ij.jar-wayne
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
>