# portLabelLength

Canonical: https://docs.shumoku.dev/ja/library/api/portLabelLength
Language: ja

@shumoku/core · 0.4.0 · function

# portLabelLength

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/port-geometry.ts#L66)

APIの説明は英語のcanonical sourceを表示しています。

Estimated label box length along the reading direction.

```
portLabelLength(label: string): number
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `label` | `string` | 追加説明はありません。 | `—` |

## 戻り値

```
number
```

[`libs/@shumoku/core/src/layout/port-geometry.ts:66`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/port-geometry.ts#L66)
