You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by Frederik Santens <fr...@pandora.be> on 2004/09/15 14:44:41 UTC
text-decoration
Hi,
Is text-decoration:blink supported in batik. If not, is there way to
achieve the same effect?
thx
Frederik
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: text-decoration
Posted by "G. Wade Johnson" <gw...@anomaly.org>.
On Wed, 15 Sep 2004 08:54:37 -0400
Thomas DeWeese <Th...@Kodak.com> 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: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org
Re: text-decoration
Posted by Thomas DeWeese <Th...@Kodak.com>.
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 ;)
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.
Make sure Batik knows your document is dynamic.
---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org