John Hon wrote:

Hello! I have been using Batik and its very nice!

How can I use batik CSS parser to parse CSS color values (like "blanchedalmond") into an RGB color? This seems very difficult.. not sure how about to go with it.

I guess I am unsure what exactly you are trying to do.


  It is difficult to use the CSS Parser 'outside' of CSS
(so for example just parse this value).  However if you have
an element and you want the value of it's 'fill' property
as a CSSRGBColor or a Graphics2D PaintServer it is pretty simple.

Can you give more information on what you are trying to do?



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to