# buildHaHullPath

Canonical: https://docs.shumoku.dev/en/library/api/buildHaHullPath
Language: en

@shumoku/core · 0.4.0 · function

# buildHaHullPath

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/ha-hull.ts#L113)

Build the glasses hull path for one redundancy group. Falls back to a rounded rect over the union bbox when the chain isn't a clean horizontal row (\`fallback: true\`), so callers never have to guard — every group gets SOME hull.

```
buildHaHullPath(input: HaHullInput, opts?: HaHullOptions): HaHullResult
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `input` | `HaHullInput` | No additional description. | `—` |
| `opts` | `HaHullOptions` | No additional description. | `—` |

## Returns

```
HaHullResult
```

[`libs/@shumoku/core/src/layout/ha-hull.ts:113`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/ha-hull.ts#L113)
