var colorAdjust:AdjustColor = new AdjustColor(); colorAdjust.brightness = 0;// 亮度 colorAdjust.contrast = 0;//对比度 colorAdjust.saturation = 0;//饱和度 colorAdjust.hue = 0// 色相偏移 var colorFilter:ColorMatrixFilter = new ColorMatrixFilter(colorAdjust.CalculateFinalFlatArray()); _mc.filters = [colorFilter];
时间: 2024-10-11 11:56:32