【发布时间】:2010-02-01 15:54:55
【问题描述】:
我需要在图像上移动带有实线边框的环。我想我会使用 bitmap.threshold() 方法使环的内部区域透明并将其移动到图像上。然而,threshold() 方法的 sourceRect 参数是一个 Rectangle,我需要我的是一个圆形。
这是方法:
**public function threshold(sourceBitmapData:BitmapData, sourceRect:Rectangle, destPoint:Point, operation:String, threshold:uint, color:uint = 0, mask:uint = 0xFFFFFFFF, copySource:Boolean = false):uint**
这是正确的方法还是有其他方法。
谢谢
【问题讨论】:
标签: apache-flex actionscript bitmap transparency