Jay Liu
Jay Liu
Is anybody there?
我后来自己写了一个 babel-plugin-import-less 可以试试 .
创建一个group, 把shape全部添加到这个group中, 操作这个group即可
你可以对这个group使用矩阵, Group继承自Element, Element继承自Transformable, 所以你可以在group上执行任何Transformable对象的方法和属性, 参考Transformable API. 如: group.attr('scale', [x, y]); group.attr('position', [x, y]);
把这个域名配置为需要翻墙即可 openai.com
looks like the 'rsg--x' class only render to the last table.  
I also had the same problem. when use the following two methods: ``` |A|B|C| |-|-|-| |a|b|c| |a|b|c| // or A B C a b c ```
谢谢, 最近也在朝这个思路考虑, zrender有没有可以获取到绘制的真实尺寸的方法, 包括超出canvas的部分? 这样可以知道canvas应该扩大多少, 位移应该移动多少.
好的, 我试试, 非常感谢
解决了, 有2种方法, 直接贴代码 1. 第一种直接在原zr上设置, 会影响原图状态, 并且生成的图片会模糊一点, 主要是resize的问题. 如果画质要求不高可以用这种. ``` var { x, y, width, height } = group.getBoundingRect(); zr.resize({ width, height }); group.attr('position', [0 - x, 0 - y]);...