---
title: "FloodFillMode Enumeration"
canonical: https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_FloodFillMode.htm
product: "Graphics Mill"
---

# FloodFillMode Enumeration
 
Contains values which specify when stop filling during the [FloodFill](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_FloodFill.htm.md) transformation.
 
**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 enum FloodFillMode
```
 
## Members

 |  Member name |  Description |
| --- | --- |
 |  Border |  The algorithm stops filling when it meets a pixel with the [TargetColor](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_FloodFill_TargetColor.htm.md) (or similar with a given [Tolerance](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_FloodFill_Tolerance.htm.md)). |
 |  Surface |  The algorithm continues filling till the current color is the same as the [TargetColor](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_FloodFill_TargetColor.htm.md) (or similar with a given [Tolerance](https://www.graphicsmill.com/docs/gm/P_Aurigma_GraphicsMill_Transforms_FloodFill_Tolerance.htm.md)). |
   
## See Also

### Reference

- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
