public static AsBlurFilter createGlow(uint color, float alpha, float blur, float resolution)
        {
            AsBlurFilter glow = new AsBlurFilter(blur, blur, resolution);

            glow.setMode(AsFragmentFilterMode.BELOW);
            glow.setUniformColor(true, color, alpha);
            return(glow);
        }
 public static AsBlurFilter createDropShadow(float distance, float angle, uint color, float alpha, float blur, float resolution)
 {
     AsBlurFilter dropShadow = new AsBlurFilter(blur, blur, resolution);
     dropShadow.setOffsetX(AsMath.cos(angle) * distance);
     dropShadow.setOffsetY(AsMath.sin(angle) * distance);
     dropShadow.setMode(AsFragmentFilterMode.BELOW);
     dropShadow.setUniformColor(true, color, alpha);
     return dropShadow;
 }
        public static AsBlurFilter createDropShadow(float distance, float angle, uint color, float alpha, float blur, float resolution)
        {
            AsBlurFilter dropShadow = new AsBlurFilter(blur, blur, resolution);

            dropShadow.setOffsetX(AsMath.cos(angle) * distance);
            dropShadow.setOffsetY(AsMath.sin(angle) * distance);
            dropShadow.setMode(AsFragmentFilterMode.BELOW);
            dropShadow.setUniformColor(true, color, alpha);
            return(dropShadow);
        }
 public static AsBlurFilter createGlow(uint color, float alpha, float blur, float resolution)
 {
     AsBlurFilter glow = new AsBlurFilter(blur, blur, resolution);
     glow.setMode(AsFragmentFilterMode.BELOW);
     glow.setUniformColor(true, color, alpha);
     return glow;
 }