On Wed, 15 Sep 2004 08:54:37 -0400 Thomas DeWeese <[EMAIL PROTECTED]> wrote:
> Frederik Santens wrote: > > > Is text-decoration:blink supported in batik. > > No. > > > If not, is there way to achieve the same effect? > > Open and close your eyes ;) Thanks, Thomas. I really needed that.<grin/> > > You can do it with script, just toggle the visibility > property from 'visible' to 'hidden' this should be fairly > efficient (no relayout of text). If you don't want to add > Javascript to your content you can also do it directly from > Java. I did this in an application where I needed to blink shapes. It worked very well to run a TimerTask that would blink the items at regular intervals. One thing I would add, though. I ended up using 'inherit' not 'visible'. This allowed my to hide a group (<g/>) of shapes even if they were nominally blinking. > Make sure Batik knows your document is dynamic. -- One OS to rule them all, One OS to find them, One OS to bring them all and in the darkness bind them, In the land of Redmond, where the Windows lie. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]