2009-10-06 112 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