Skip to content

Commit ea4880f

Browse files
committed
Renamed more arguments.
1 parent e7ff7ef commit ea4880f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Magick.NET/MagickImage.CloneMutator.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -168,11 +168,11 @@ public void Charcoal(double radius, double sigma)
168168
public void Chop(IMagickGeometry geometry)
169169
=> SetResult(NativeMagickImage.Chop(MagickRectangle.FromGeometry(geometry, (uint)NativeMagickImage.Width_Get(), (uint)NativeMagickImage.Height_Get())));
170170

171-
public void ChopHorizontal(int offset, uint width)
172-
=> Chop(new MagickGeometry(offset, 0, width, 0));
171+
public void ChopHorizontal(int x, uint width)
172+
=> Chop(new MagickGeometry(x, 0, width, 0));
173173

174-
public void ChopVertical(int offset, uint height)
175-
=> Chop(new MagickGeometry(0, offset, 0, height));
174+
public void ChopVertical(int y, uint height)
175+
=> Chop(new MagickGeometry(0, y, 0, height));
176176

177177
public void Colorize(IMagickColor<QuantumType> color, Percentage alpha)
178178
{

0 commit comments

Comments
 (0)