# SubPathPath type
{: .no_toc }

One figure of a path, as a path of its own, with whether it is closed.

[**PathIterator.NextSubpathPath**](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/PathIterator.md#nextsubpathpath) is meant to return a **SubPathPath**. That method does not work in this version; see the warning on the [**PathIterator**](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/PathIterator.md) page.

## Fields

| Field | Type | Meaning |
|:------|:-----|:--------|
| **path** | [**GraphicsPath**](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/GraphicsPath.md) | A new path that holds the figure. |
| **isClosed** | **Boolean** | **True** when the figure is closed. |
| **resultCount** | **Long** | The number of points in the figure. It is 0 when the iterator has no more figures. |

## See Also

- [PathIterator](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/PathIterator.md) class
- [SubPath](/twinBASIC-docs/tB/Packages/Contributed/GdiPlus/Types/SubPath.md) type -- the indexes of a figure
