hardc0d3r:
> how do add this to the svg? appendChild? i am having some trouble using
> this.. i have this snippet:
>
> pe = new SVGOMPathElement(null, (AbstractDocument)doc);
> pe.setAttribute("d", "M0,0 L100,100, L0,100");
> pe.setAttribute( "stroke", "blue");
> pe.setAttribute("stroke-width", "3");
> pe.setAttribute("fill", "none");
You really should do it like this, though:
pe = (SVGOMPathElement) doc.createElementNS(SVGNS, "path");
pe.setAttribute…
…
--
Cameron McCormack, http://mcc.id.au/
xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]