# resolveLayout

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

@shumoku/core · 0.4.0 · function

# resolveLayout

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

Convert a legacy LayoutResult to a ResolvedLayout. Port positions are converted from center-relative to absolute.

```
resolveLayout(result: LayoutResult): ResolvedLayout
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `result` | `LayoutResult` | No additional description. | `—` |

## Returns

```
ResolvedLayout
```

[`libs/@shumoku/core/src/layout/resolve.ts:33`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/resolve.ts#L33)
