Skip to content

Commit 93c637f

Browse files
committed
Renamed arguments.
1 parent 3035564 commit 93c637f

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/Magick.NET.Core/IMagickImageCreateOperations.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -315,18 +315,18 @@ public interface IMagickImageCreateOperations
315315
/// <summary>
316316
/// Chop image (remove horizontal subregion of image).
317317
/// </summary>
318-
/// <param name="offset">The X offset from origin.</param>
318+
/// <param name="x">The X offset from origin.</param>
319319
/// <param name="width">The width of the part to chop horizontally.</param>
320320
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
321-
void ChopHorizontal(int offset, uint width);
321+
void ChopHorizontal(int x, uint width);
322322

323323
/// <summary>
324324
/// Chop image (remove horizontal subregion of image).
325325
/// </summary>
326-
/// <param name="offset">The Y offset from origin.</param>
326+
/// <param name="y">The Y offset from origin.</param>
327327
/// <param name="height">The height of the part to chop vertically.</param>
328328
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
329-
void ChopVertical(int offset, uint height);
329+
void ChopVertical(int y, uint height);
330330

331331
/// <summary>
332332
/// Apply a color matrix to the image channels.

src/Magick.NET/MagickImage.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,25 +1495,25 @@ public void Chop(IMagickGeometry geometry)
14951495
/// <summary>
14961496
/// Chop image (remove horizontal subregion of image).
14971497
/// </summary>
1498-
/// <param name="offset">The X offset from origin.</param>
1498+
/// <param name="x">The X offset from origin.</param>
14991499
/// <param name="width">The width of the part to chop horizontally.</param>
15001500
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
1501-
public void ChopHorizontal(int offset, uint width)
1501+
public void ChopHorizontal(int x, uint width)
15021502
{
15031503
using var mutator = new Mutator(_nativeInstance);
1504-
mutator.ChopHorizontal(offset, width);
1504+
mutator.ChopHorizontal(x, width);
15051505
}
15061506

15071507
/// <summary>
15081508
/// Chop image (remove horizontal subregion of image).
15091509
/// </summary>
1510-
/// <param name="offset">The Y offset from origin.</param>
1510+
/// <param name="y">The Y offset from origin.</param>
15111511
/// <param name="height">The height of the part to chop vertically.</param>
15121512
/// <exception cref="MagickException">Thrown when an error is raised by ImageMagick.</exception>
1513-
public void ChopVertical(int offset, uint height)
1513+
public void ChopVertical(int y, uint height)
15141514
{
15151515
using var mutator = new Mutator(_nativeInstance);
1516-
mutator.ChopVertical(offset, height);
1516+
mutator.ChopVertical(y, height);
15171517
}
15181518

15191519
/// <summary>

0 commit comments

Comments
 (0)