Server IP : 103.191.208.50 / Your IP : 216.73.216.226 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /home/celkcksm/bmtrust.org.in/admin/bower_components/jvectormap/lib/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
jvm.VMLShapeElement = function(name, config){ jvm.VMLShapeElement.parentClass.call(this, name, config); this.fillElement = new jvm.VMLElement('fill'); this.strokeElement = new jvm.VMLElement('stroke'); this.node.appendChild(this.fillElement.node); this.node.appendChild(this.strokeElement.node); this.node.stroked = false; jvm.AbstractShapeElement.apply(this, arguments); }; jvm.inherits(jvm.VMLShapeElement, jvm.VMLElement); jvm.mixin(jvm.VMLShapeElement, jvm.AbstractShapeElement); jvm.VMLShapeElement.prototype.applyAttr = function(attr, value){ switch (attr) { case 'fill': this.node.fillcolor = value; break; case 'fill-opacity': this.fillElement.node.opacity = Math.round(value*100)+'%'; break; case 'stroke': if (value === 'none') { this.node.stroked = false; } else { this.node.stroked = true; } this.node.strokecolor = value; break; case 'stroke-opacity': this.strokeElement.node.opacity = Math.round(value*100)+'%'; break; case 'stroke-width': if (parseInt(value, 10) === 0) { this.node.stroked = false; } else { this.node.stroked = true; } this.node.strokeweight = value; break; case 'd': this.node.path = jvm.VMLPathElement.pathSvgToVml(value); break; default: jvm.VMLShapeElement.parentClass.prototype.applyAttr.apply(this, arguments); } };