List Info

Thread: Stroke property for feFlood filter




Stroke property for feFlood filter
user name
2006-04-24 08:23:40
Hi Cameron,

> Yes.
> 
>   Element text = doc.createElementNS(svgNS,
"text");
>   Text value =
doc.createTextNode("100.100.10.10");
>   text.appendChild(value);
>   text.setAttributeNS(null,
"text-decoration", "none");
>   text.setAttributeNS(null, "x",
"150");
>   text.setAttributeNS(null, "y",
"150");
>   text.setAttributeNS(null, "font-family",
"Arial");
>   text.setAttributeNS(null, "font-size",
"12");
>   rootElement.appendChild(text);
>   var bbox = text.getBBox();

After added the 'text' in the root only, you can able to
get SVGRect. But is 
it possible to get SVGRect/width before adding it to Root?

Thanks,
Selva




------------------------------------------------------------
---------
To unsubscribe, e-mail: batik-users-unsubscribexmlgraphics.apache.org
For additional commands, e-mail: batik-users-helpxmlgraphics.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )