public override Image Apply(Image img) { if (Opacity <= 0f) { return(img); } return(ImageHelpers.AddShadow(img, Opacity, Size, Darkness + 1, Color, Offset)); }
public override Bitmap Apply(Bitmap bmp) { return(ImageHelpers.AddShadow(bmp, Opacity, Size, Darkness + 1, Color, Offset)); }