2010-09-16 99 views
1

使用動作旋轉位圖時,邊緣鋸齒狀,並且沒有正確消除鋸齒。旋轉位圖的AS3反鋸齒

你如何強制位圖的抗鋸齒?

this.stage.quality = StageQuality.BEST; // Tried this, but seems useless 
var imgFromLib = new imgFromLib(); 
imgFromLib.rotation = 30; 

回答

2

imgFromLib應該可以轉換爲Bitmap;位圖有平滑pixelSnapping屬性。也許這有幫助。

+0

imgFromLib實際上是一個MovieClip,我不能將它更改爲位圖,因爲其他實現... – 2010-09-16 14:02:38

+0

最終用smoothing = true解決了它...謝謝 – 2010-09-16 14:55:23