PartOptions型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
How a parted hand is laid out.
インポート
import type { PartOptions } from "@johnmorrisdotca/toranpu/element";
ほかのエクスポート元: @johnmorrisdotca/toranpu/element/define
定義
type PartOptions = {
gap?: number;
lift?: number;
peek?: number;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
gap (省略可) | number | undefined | The room left on each side of the parted card, in card widths. Unless said, 0.12. |
lift (省略可) | number | undefined | How far the parted card is lifted above the rest, in card widths. Unless said, 0.2. |
peek (省略可) | number | undefined | The least the cards of a group may lie apart, squared up as they close in. Unless said, 0.04. |
例
import type { PartOptions } from "@johnmorrisdotca/toranpu/element";
const value: PartOptions = { gap: 30, lift: 10 };
console.log(value.gap);30出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。