Jtopo使用中link中文字与link平行

修改源代码如下

//新增
a.translate(e ,f );
a.rotate(Math.atan((d.y-c.y)/(d.x-c.x)));
//修改
a.fillText(this.text, -g/2,-h/2);

posted @ 2017-09-21 23:20  大西瓜的一片净土  阅读(475)  评论(0编辑  收藏  举报