@shumoku/core · 0.4.0 · function
chamferCorners
APIの説明は英語のcanonical sourceを表示しています。
Cut each ~90° corner with a 45° chamfer for the metro look.
chamferCorners(points: readonly Position[], size: number): Position[] パラメーター
| 名前 | 型 | 説明 | 既定値 |
|---|---|---|---|
points | readonly Position[] | 追加説明はありません。 | — |
size | number | 追加説明はありません。 | — |
戻り値
Position[]