Shumoku Docs

Search documentation

Shared docs and current release

Loading search…

日本語

@shumoku/core · 0.4.0 · function

portBox

Source

Axis-aligned box of the port marker itself.

portBox(port: ResolvedPort): Bounds

Parameters

Parameter Type Description Default
port ResolvedPort No additional description.

Returns

Bounds

libs/@shumoku/core/src/layout/port-geometry.ts:71