topical media & game development

talk show tell print

#graphic-flex-image-effects-07-source-aether-effects-convolution-EmbossEffect.ax

#graphic-flex-image-effects-07-source-aether-effects-convolution-EmbossEffect.ax [swf] [flash] flex


  package aether.effects.convolution {
          
          public class @ax-graphic-flex-image-effects-07-source-aether-effects-convolution-EmbossEffect extends ConvolutionEffect {
  
                  public function @ax-graphic-flex-image-effects-07-source-aether-effects-convolution-EmbossEffect(
                          amount:Number=2,
                          blendMode:String=null,
                          alpha:Number=1
                  ) {
                          var matrix:Array = [
                                  -amount, -1,      0,
                                       -1,  1,      1,
                                        0,  1, amount
                          ];
                          super(matrix, 1, 0, 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.