How can I get a parsed Paint/Color object from a certain css property?
I have a custom terminal-view that has a color scheme. I would really like to read the colors from CSS instead to enable easy and proper theming.
I fiddled around with lookup()
and lookupAll()
but never quite managed to get PaintConverter.getPaintConverter().convert(...)
or PaintConverter.getColorConverter().convert(...)
to read the values. It just don't get where I'm supposed to get either the Mutable Map oder ParsedValue
s for convert.
Could anybody provide an example for that?