开发者

AS3 Anti Aliasing of a rotated bitmap

When rotating a bitmap with actionscript, the edges are jagged and not properly anti-aliased.

How do you force anti-aliasing of the bitmap ?

this.stage.quality = StageQuality.B开发者_开发问答EST; // Tried this, but seems useless 
var imgFromLib = new imgFromLib ();
imgFromLib.rotation = 30;


imgFromLib should be castable to Bitmap; Bitmap has smoothing and pixelSnapping properties. Maybe this helps.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜