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

            return(img);
        }