You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

13 lines
393 B

jvm.SVGTextElement = function(config, style){
jvm.SVGTextElement.parentClass.call(this, 'text', config, style);
}
jvm.inherits(jvm.SVGTextElement, jvm.SVGShapeElement);
jvm.SVGTextElement.prototype.applyAttr = function(attr, value){
if (attr === 'text') {
this.node.textContent = value;
} else {
jvm.SVGTextElement.parentClass.prototype.applyAttr.apply(this, arguments);
}
};