topical media & game development

talk show tell print

#graphic-flex-image-effects-07-source-aether-effects-shaders-HalfToneEffect.ax

#graphic-flex-image-effects-07-source-aether-effects-shaders-HalfToneEffect.ax [swf] [flash] flex


  package aether.effects.shaders {
          
          public class @ax-graphic-flex-image-effects-07-source-aether-effects-shaders-HalfToneEffect extends StampEffect {
  
                  public static var shaderClass:String = "HalfToneKernel";
                  public static var shaderFile:String = "halfTone.pbj";
  
                  public function @ax-graphic-flex-image-effects-07-source-aether-effects-shaders-HalfToneEffect(
                          threshold:Number=.4,
                          foregroundColor:uint=0xFFFFFFFF,
                          backgroundColor:uint=0xFF000000,
                          blendMode:String=null,
                          alpha:Number=1
                  ) {
                          _shaderClass = shaderClass;
                          _shaderFile = shaderFile;
                          this.threshold = threshold;
                          this.foregroundColor  = foregroundColor;
                          this.backgroundColor  = backgroundColor;
                          init(blendMode, alpha);
                  }
                  
          }
  
  }


(C) Æliens 04/09/2009

You may not copy or print any of this material without explicit permission of the author or the publisher. In case of other copyright issues, contact the author.