我有一個繪製文本字段的位圖數據。縮放之後,文本會變形。 我使用下面的代碼:textField中的扭曲
// tf is text Field and bm is bitmap.
var tf:TextField = new TextField();
tf.text = "Hello world";
var bd:BitmapData = new BitmapData(200, 200, true, 0x00ff00);
bd.draw(tf);
var bm:Bitmap = new Bitmap(bd);
addChild(bm);
bm.scaleX = 2;
bm.scaleY = 2;
請指導我。
使用此代碼文本獲取失真。 – 2013-04-09 10:49:23
使用Vesper的技巧。 – 2013-04-09 10:54:05