> I need some examples or pointers to help me extract the properties of a
> previously-defined style within the CSS of an SVG document.

Are you talking of a <style> element, a style attribute?

> I know the name of the style; I just want to (programmatically) obtain
> its properties (e.g., fill-color).

The method getComputedStyle method is not what you want. You will find this
method on the SVGSVGElement (i.e an <svg> element).

StyleDeclaration decl =
   ((ViewCSS)svgElement).getComputedStyle(element, null);

where svgElement is an org.w3.dom.Element which is an <svg> element and
element is the element you want its style definition.

Thierry.


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

Reply via email to