tileBodySvg関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The tile's own plate in a design, fitted to the tile's 30 by 40; null for a design that draws the plain rounded rectangle.
インポート
import { tileBodySvg } from "@johnmorrisdotca/jarajara/faces";
定義
function tileBodySvg(design: TileDesign | undefined): string | null
引数
| 名前 | 型 | 説明 |
|---|---|---|
design | TileDesign | undefined | The optional tile artwork design. |
戻り値
string | null
The tile's own plate in a design, fitted to the tile's 30 by 40; null for a design that draws the plain rounded rectangle.
例
import { jarajaraDesign, tileBodySvg } from "@johnmorrisdotca/jarajara/faces";
console.log(tileBodySvg(jarajaraDesign()));null出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。