---
title: "FloodFillMode Enumeration"
canonical: https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_FloodFillMode.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/)

# FloodFillMode Enumeration
 
Contains values which specify when stop filling to the [FloodFill](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Transforms_FloodFill.htm.md) algorithm.
 
**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 Enumeration FloodFillMode
```
 
```csharp
public enum FloodFillMode
```
 
## Members

|   |  Member name |  Description |
| --- | --- | --- |
 |   |  TillColor |  Fill with [FillColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_FloodFill_FillColor.htm.md) till color of the current pixel is the same (or similar with given [Tolerance](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_FloodFill_Tolerance.htm.md)) as [TargetColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_FloodFill_TargetColor.htm.md). |
 |   |  UntilColor |  Fill with [FillColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_FloodFill_FillColor.htm.md) until color of the current pixel is the same (or similar with given [Tolerance](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_FloodFill_Tolerance.htm.md)) as [TargetColor](https://www.graphicsmill.com/docs/gm5/P_Aurigma_GraphicsMill_Transforms_FloodFill_TargetColor.htm.md). |
   
## See Also

### Reference

- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Transforms.htm.md)
