# nodeContentScale

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

@shumoku/core · 0.4.2 · function

# nodeContentScale

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts#L22)

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

The safe central rectangle inside each nonrectangular outline.

```
nodeContentScale(shape?: NodeShape): { x: number; y: number }
```

## パラメーター

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

## 戻り値

```
{ x: number; y: number }
```

[`libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts:22`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/libs/@shumoku/core/src/models/diagram-presentation.ts#L22)
