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