Example #1
0
 public override Image Apply(Image img)
 {
     using (img)
     {
         return(ImageHelpers.CreateTornEdge(img, ToothHeight, HorizontalToothRange, VerticalToothRange));
     }
 }
Example #2
0
        public override Image Apply(Image img)
        {
            if (Sides != AnchorStyles.None)
            {
                using (img)
                {
                    return(ImageHelpers.CreateTornEdge(img, ToothHeight, HorizontalToothRange, VerticalToothRange, Sides));
                }
            }

            return(img);
        }