---
title: "Path.Inflate Method (Single, LineJoin, Single, Single, FillingRule)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_Path_Inflate_5_2e26aa4d.htm
archived: false
applies_to:
  - product: "Graphics Mill"
    versions: ["12.1", "6.x-12.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

# Path.Inflate Method (Single, LineJoin, Single, Single, FillingRule)

**Applies to:** Graphics Mill 12.1, 6.x-12.x (may differ)
 
Grows or shrinks every closed region of the path by the specified distance, using the specified parameters.
 
**Namespace:** [Aurigma.GraphicsMill.Drawing](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public void Inflate(float delta,LineJoin lineJoin,float miterLimit,float arcTolerance,FillingRule fillingRule
)
```
 
### Parameters
 
 - delta
     - Type: System.Single
The distance. A positive value grows the regions, a negative value shrinks them.

 - lineJoin
     - Type: [Aurigma.GraphicsMill.Drawing.LineJoin](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_LineJoin.htm.md)
The style of the corners.

 - miterLimit
     - Type: System.Single
The limit of the miter length, relative to the distance. Must be at least 1.

 - arcTolerance
     - Type: System.Single
The largest allowed deviation of a round corner from the true arc. Must be greater than 0.

 - fillingRule
     - Type: [Aurigma.GraphicsMill.Drawing.FillingRule](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_FillingRule.htm.md)
The filling rule that defines how overlapping and nested subpaths form regions.
 
## Remarks
  
Unlike [OffsetContour(Single)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_Path_OffsetContour_1_7a94462e.htm.md), this method lets you choose the corner style and the filling rule. That method always uses miter corners.
 
When the regions grow, parts that are closer than 2 \* delta merge. If you grow the path and then shrink it by the same distance, gaps narrower than 2 \* delta are closed. A region that shrinks to nothing disappears.
 
Curves are converted to polylines first.
 
## Exceptions
  
|  Exception |  Condition |
| --- | --- |
 |  System.ArgumentOutOfRangeException |  A parameter is out of range. |
   
## See Also

### Reference

- [Path Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_Path.htm.md)
- [Inflate Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Drawing_Path_Inflate.htm.md)
- [Aurigma.GraphicsMill.Drawing Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Drawing.htm.md)

### Manual

- [Working with Paths](https://www.graphicsmill.com/docs/gm/working-with-path.htm.md)
