1
A
回答
5
在閃光默認的「纏繞規則」是偶奇。所以,如果你繪製多個形狀與重疊相同的填充,它們填充和非填充之間交替。
var size:Number = 200;
graphics.beginFill(0xFF0000);
graphics.lineStyle(1);
graphics.drawRect((stage.stageWidth - size)/2, (stage.stageHeight - size)/2, size, size);
graphics.drawCircle(stage.stageWidth/2, stage.stageHeight/2, size/2 - 10);
graphics.drawCircle(stage.stageWidth/2, stage.stageHeight/2, size/2 - 30);
graphics.endFill();
相關問題
- 1. Actionscript 3.0 Tween問題
- 2. ActionScript 3.0中預載問題
- 3. Actionscript 3.0 Splice/RemoveChild問題
- 4. 如何在ActionScript 3.0中重繪形狀?
- 5. Flash,ActionScript 3.0 Tiles地圖
- 6. 繪圖問題
- 7. 的ActionScript 3.0的參數錯誤2025(刪除子問題)
- 8. ActionScript 2.0和ActionScript 3.0項目
- 9. flash actionscript 3.0
- 10. Flash CS6 actionscript 3.0
- 11. ActionScript 3.0 Ragged Line
- 12. 在ActionScript 3.0
- 13. onDragOver for Actionscript 3.0
- 14. ActionScript 3.0 Flash CS5
- 15. Actionscript 3.0 swap
- 16. C#繪圖問題
- 17. NSShadow繪圖問題
- 18. UIView繪圖問題
- 19. GtkStatusIcon繪圖問題
- 20. GeoPandas繪圖問題
- 21. WPF繪圖問題
- 22. Pygame問題繪圖
- 23. QGraphicsItem繪圖問題
- 24. iPad繪圖問題?
- 25. Actionscript(2)問題
- 26. ActionScript 3問題
- 27. C++的繪圖問題
- 28. Python的繪圖問題
- 29. python中的繪圖問題
- 30. 在Adobe AIR/Actionscript 3.0中錄製WAV - **問題**
這是一個整潔的技術。 – Sam 2011-03-20 23:39:55