---
title: "Crop Constructor (Int32, Int32, Int32, Int32)"
canonical: https://www.graphicsmill.com/docs/gm/C_Aurigma_GraphicsMill_Transforms_Crop_ctor_4_5278793f.htm
product: "Graphics Mill"
---

# Crop Constructor (Int32, Int32, Int32, Int32)
 
Initializes a new instance of the [Crop](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Crop.htm.md) class using the specified cropping rectangle.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public Crop(int x,int y,int width,int height
)
```
 
### Parameters
 
 - x
     - Type: System.Int32
The x-coordinate of the upper-left corner of the cropping rectangle.

 - y
     - Type: System.Int32
The y-coordinate of the upper-left corner of the cropping rectangle.

 - width
     - Type: System.Int32
The width of the cropping rectangle.

 - height
     - Type: System.Int32
The height of the cropping rectangle.
   
## See Also

### Reference

- [Crop Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Crop.htm.md)
- [Crop Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Transforms_Crop_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
