日期:2014-05-16 浏览次数:20503 次
//304行
else if (c === "isTracker") this[c] = d; else if (c === "width") d = ja(d); else if (c === "align") { c = "text-anchor";
d = { left: "start",
center: "right", //改这边
right: "end"}[d] }
if (c === "strokeWidth") c = "stroke-width"; if (Nd && c === "stroke-width" && d === 0) d = 1.0E-6; if (this.symbolName && /^(x|y|r|start|end|innerR)/.test(c)) {
if (!J) {
this.symbolAttr(a);
J = true
} l = true
} if (n && /^(width|height|visibility|x|y|d)$/.test(c)) for (e = n.length; e--; ) Ea(n[e], c, d); if ((c === "width" || c === "height") && h === "rect" && d < 0) d = 0; if (c === "text") { this.textStr = d; this.added && j.buildText(this) } else l || Ea(g, c, d)
} return D