# GH_PathOffset class

Namespace: [Grasshopper.Kernel.Data](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.data.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
public class GH_PathOffset
```

Represents a relative offset within a data structure.

## Constructors

- [GH_PathOffset](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.data.gh-pathoffset/ctor.md): (4 overloads)

## Properties

- [ItemOffset](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.data.gh-pathoffset/itemoffset.md): Gets or sets the relative offset for branch items.
- [ItemWrap](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.data.gh-pathoffset/itemwrap.md): Gets or sets the ItemWrap flag.
- [PathOffset](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.data.gh-pathoffset/pathoffset.md): Gets access to the relative offsets for path indices.
- [PathWrap](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.data.gh-pathoffset/pathwrap.md): Gets or sets the PathWrap flag.

## Methods

- [OffsetPath](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.data.gh-pathoffset/offsetpath.md): (2 overloads) Offset a path + index value with wrapping and bounds checking.
- [ParseString](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.data.gh-pathoffset/parsestring.md): (static)
- [ToString](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.data.gh-pathoffset/tostring.md): Format the Path Offset.
