@shumoku/core · 0.4.0 · function
findContainmentViolations
APIの説明は英語のcanonical sourceを表示しています。
Find member nodes whose box is not fully inside their container's bounds (shrunk by `pad` on each side). Unknown member ids are ignored — membership resolution is the caller's concern.
findContainmentViolations(boxes: readonly BoxSpec[], containers: readonly ContainerSpec[], pad?: number): ContainmentViolation[] パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
boxes | readonly BoxSpec[] | 追加説明はありません。 | — |
containers | readonly ContainerSpec[] | 追加説明はありません。 | — |
pad | number | 追加説明はありません。 | 0 |
戻り値
ContainmentViolation[]