2009-10-06 66 views

回答

1

但我找到了一种方法来绘制矢量图形,使用闪光灯,在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); 
-1

Adob​​e Air具有嵌入式WebKit,它部分支持SVG 1.1作为Adobe AIR应用程序中的替代渲染引擎,您可以使用基于矢量图形的Flash。

+0

Unfortunaly你错了。它基于webkit,但不会绘制任何svg。也许它会与Air2一起出现 – 2009-10-26 11:18:55