xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GVS Srinivas <GVS.Srini...@cramer.co.uk>
Subject changing style properties
Date Tue, 04 May 2004 15:28:39 GMT
i want to modify the style properties of a text element using batik.
i do it in javascript like shown below.would you please guide how i should
achieve the same using batik.
thanks a lot
var textElements = document.getElementsByTagName("text");
    var currentElement;
    for(var i=0; i<textElements.length; i++) 
      currentElement = textElements.item(i);
      currentElement.style.setProperty( "pointer-events","none");

View raw message