Re: CSS question

2003-10-29 Thread Thomas DeWeese
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 d

Re: CSS question

2003-10-29 Thread Matthew Good
Well, the ColorManager class in org.apache.batik.css.engine.value.svg builds a Map from color names to values. Unfortunately you can't get to this Map from the public interface. You could pull the necessary code out of this class and it's superclass to build this Map yourself. It's really pretty

CSS question

2003-10-28 Thread John Hon
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. -- __ Sign-up for your own