lookStyle関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The inline custom properties a look needs: none for plain paper with the default line, which the style gives.
インポート
import { lookStyle } from "@johnmorrisdotca/meikyuu/draw";
定義
function lookStyle(look: MazeLook): string
引数
| 名前 | 型 | 説明 |
|---|---|---|
look | MazeLook | Native board, trail, wall and line appearance choices. |
戻り値
string
The inline custom properties a look needs: none for plain paper with the default line, which the style gives.
例
import { lookStyle } from "@johnmorrisdotca/meikyuu/draw";
console.log(lookStyle({board:"paper",trail:"green"}));この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。