---
title: "Mosaic Constructor (Int32, Int32)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_Transforms_Mosaic_ctor_2_a88b0353.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Mosaic Constructor (Int32, Int32)
 
Creates and initializes [Mosaic](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Mosaic.htm.md) class instance. Mosaic cell size is specified here.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```
Public Sub New ( _cellWidth As Integer, _cellHeight As Integer _
)
```
 
```csharp
public Mosaic(int cellWidth,int cellHeight
)
```
 
### Parameters
 
 - cellWidth
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Mosaic cell width. You can change this value later using [CellWidth](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Mosaic_CellWidth.htm.md) property.

 - cellHeight
     - Type: [System.Int32](http://msdn2.microsoft.com/en-us/td2s409d)
Mosaic cell height. You can change this value later using [CellHeight](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_Mosaic_CellHeight.htm.md) property.
   
## See Also

### Reference

- [Mosaic Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_Mosaic.htm.md)
- [Mosaic Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Transforms_Mosaic_ctor.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
