Air 是否支持 SVG,如果不可能,是否有另一种方法可以通过 JavaScript 绘制事件敏感图形。
最佳答案
但是我找到了一种使用 flash 在 html 上绘制矢量图形的方法
air.Shape = window.runtime.flash.display.Shape;
this.shape = new air.Shape();
this.shape = new air.Shape();
this.shape.graphics.lineStyle(1,0);
this.shape.graphics.drawCircle(0,0,200);
this.shape.graphics.endFill();
window.nativeWindow.stage.addChild(this.shape);
关于javascript - Adobe 空气 : draw vector graphics,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1524676/