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

            return(ImageHelpers.AddShadow(img, Opacity, Size, Darkness + 1, Color, Offset));
        }
示例#2
0
文件: Shadow.cs 项目: McoreD/ShareX
 public override Bitmap Apply(Bitmap bmp)
 {
     return(ImageHelpers.AddShadow(bmp, Opacity, Size, Darkness + 1, Color, Offset));
 }