如何实现flash黑白滤镜

xiaoxiao2022-06-16  66

如何实现flash黑白滤镜

 

只要用一个ColorMatrixFilter就可以实现了。

 

当然filter不能对stage使用,那就对root来使用把。flex中就是 systemmanger

 

(this.systemManager as DisplayObject).filters = [new ColorMatrixFilter([ 1,0,0,0,0, 1,0,0,0,0, 1,0,0,0,0, 0,0,0,1,0 ])]   相关资源:敏捷开发V1.0.pptx
转载请注明原文地址: https://www.6miu.com/read-4940868.html

最新回复(0)