# portLabelReach

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

@shumoku/core · 0.4.0 · function

# portLabelReach

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

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

Reach of a port's label measured from the node face outward, along the wire (vertical labels) — how much corridor the label needs between this row and the next. Horizontal labels reach PORT\_LABEL\_H.

```
portLabelReach(port: ResolvedPort): number
```

## パラメーター

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

## 戻り値

```
number
```

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