---
title: "GdiGraphics..::.FloodFill Method "
canonical: https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_Drawing_GdiGraphics_FloodFill.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/)

# GdiGraphics.FloodFill Method 
 
Fills an arbitrary area with the specified color
 
## Overload List

|   |  Name |  Description |
| --- | --- | --- |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [FloodFill(Point, Brush, Color, FloodFillMode, Single)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Drawing_GdiGraphics_FloodFill_5_2020c7f8.htm.md) |  Fills an area of the display surface with the specified brush starting from specified point. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [FloodFill(PointF, Brush, Color, FloodFillMode, Single)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Drawing_GdiGraphics_FloodFill_5_ba0927e0.htm.md) |  Fills an area of the display surface with the specified brush starting from specified point. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [FloodFill(Int32, Int32, Brush, Color, FloodFillMode, Single)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Drawing_GdiGraphics_FloodFill_6_5c03287f.htm.md) |  Fills an area of the display surface with the specified brush starting from specified point. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [FloodFill(Single, Single, Brush, Color, FloodFillMode, Single)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Drawing_GdiGraphics_FloodFill_6_cbfb8353.htm.md) |  Fills an area of the display surface with the specified brush starting from specified point. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [FloodFill(Point, Brush, Color, FloodFillMode, Single, Boolean, Boolean)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Drawing_GdiGraphics_FloodFill_7_d9d5a7ca.htm.md) |  Fills an area of the display surface with the specified brush starting from specified point. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [FloodFill(PointF, Brush, Color, FloodFillMode, Single, Boolean, Boolean)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Drawing_GdiGraphics_FloodFill_7_ca2a13fa.htm.md) |  Fills an area of the display surface with the specified brush starting from specified point. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [FloodFill(Int32, Int32, Brush, Color, FloodFillMode, Single, Boolean, Boolean)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Drawing_GdiGraphics_FloodFill_8_21dd347b.htm.md) |  Fills an area of the display surface with the specified brush starting from specified point. |
 |  ![Public method](https://www.graphicsmill.com/docs/gm5/icons/pubmethod.gif) |  [FloodFill(Single, Single, Brush, Color, FloodFillMode, Single, Boolean, Boolean)](https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_Drawing_GdiGraphics_FloodFill_8_f2fe5cc7.htm.md) |  Fills an area of the display surface with the specified brush starting from specified point. |
 
## Remarks
  
**Note** 
Flood fill can be applied only at [GdiGraphics](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_GdiGraphics.htm.md) which is associated with [Bitmap](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Bitmap.htm.md). If you try to apply it at [GdiGraphics](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_GdiGraphics.htm.md) associated with device context, method will throw an exception.
   
## See Also

### Reference

- [GdiGraphics Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_Drawing_GdiGraphics.htm.md)
- [GdiGraphics Members](https://www.graphicsmill.com/docs/gm5/AllMembers_T_Aurigma_GraphicsMill_Drawing_GdiGraphics.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_Drawing.htm.md)
