---
title: "TransformsProvider.Spray Method (Int32)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_TransformsProvider_Spray_1_e1836fc4.htm
product: "Graphics Mill"
---

# TransformsProvider.Spray Method (Int32)
 
Applies a spray effect to the bitmap using the specified amount.
 
**Namespace:** [Aurigma.GraphicsMill](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void Spray(int amount
)
```
 
### Parameters
 
 - amount
     - Type: System.Int32
The amount of the effect (variance of the random number generated by the transform).
 
## Remarks
 Spray effect lies in spreading pixels randomly.
   
## See Also

### Reference

- [TransformsProvider Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_TransformsProvider.htm.md)
- [Spray Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_TransformsProvider_Spray.htm.md)
- [Aurigma.GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill.htm.md)
