How Can I Interpret An Extrenal Svg File In Two.js March 01, 2024 Post a Comment Is there any way I can interpret an external svg file with object tag in two.js? I tried in the way below but.. HTML )[0]; svgObject.onload = function(){ var mySvg = svgObject.contentDocument.getElementsByTagName('svg')[0]; var two = new Two(); var shape = two.interpret(mySvg); console.log(shape); }; Copy Share You may like these postsHow Can I Timeout A Google Maps Geocoder Via Javascript?Google Maps (v3) - Map Container Selector (using Jquery)On Click Open Popup With Form And Then On Submit Download And Close It! How?Trouble Inserting To Dom Child Views In Backbone.js Post a Comment for "How Can I Interpret An Extrenal Svg File In Two.js"