package aether.effects.adjustments { import aether.effects.ImageEffect; import aether.utils.Adjustments; import flash.display.BitmapData; public class graphic_flex_image_effects_07_source_aether_effects_adjustments_ThresholdEffect extends ImageEffect { private var _threshold:uint; public function graphic_flex_image_effects_07_source_aether_effects_adjustments_ThresholdEffect( threshold:uint, blendMode:String=null, alpha:Number=1 ) { init(blendMode, alpha); _threshold = threshold; } override protected function applyEffect(bitmapData:BitmapData):void { Adjustments.threshold(bitmapData, _threshold); } } }