public override Image Apply(Image img)
        {
            if (Opacity <= 0f)
            {
                return(img);
            }

            return(ImageHelpers.AddShadow(img, Opacity, Size, Darkness + 1, Color, Offset));
        }
Beispiel #2
0
 public override Bitmap Apply(Bitmap bmp)
 {
     return(ImageHelpers.AddShadow(bmp, Opacity, Size, Darkness + 1, Color, Offset));
 }