---
title: "Path.Inflate Method (Single, LineJoin)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_Path_Inflate_2_52356a13.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)

**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, with the specified corner style.
 
**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
)
```
 
### 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.
 
## Remarks
 The miter limit is 2, the arc tolerance is 0.1, and the filling rule is [NonZero](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Drawing_FillingRule.htm.md). See the [Inflate(Single, LineJoin, Single, Single, FillingRule)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Drawing_Path_Inflate_5_2e26aa4d.htm.md) overload for details.
 
## Examples
  
```csharp
var path = new Path();
path.DrawEllipse(15, 15, 60, 60);
path.DrawRectangle(78, 65, 55, 65);

var original = new Path(path);

// Grow the shapes by 8 units. Shapes closer than 16 units merge.
path.Inflate(8f, LineJoin.Round);
```
 
The original path and the inflated path.
 ![The original path and the inflated path.](https://www.graphicsmill.com/docs/gm/PathInflate.png)
 
## Exceptions
  
|  Exception |  Condition |
| --- | --- |
 |  System.ArgumentOutOfRangeException |  The distance is not a finite number. |
   
## 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)
