CARD_BOX定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A card is drawn in a box 100 wide and 140 tall, the 5:7 of a poker-size card, and scales to any width.
インポート
import { CARD_BOX } from "@johnmorrisdotca/toranpu/card-backs";
定義
const CARD_BOX: { readonly width: 100; readonly height: 140; readonly radius: 7; } = { width: 100, height: 140, radius: 7 } as const
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
width | 100 | |
height | 140 | |
radius | 7 |
例
import { CARD_BOX } from "@johnmorrisdotca/toranpu/card-backs";
console.log(CARD_BOX);{ width: 100, height: 140, radius: 7 }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。