boardLookOffunction
The look a board name or board object means.
Import it
import { boardLookOf } from "@johnmorrisdotca/meikyuu/draw";
Definition
function boardLookOf(board: MazeLook["board"]): MeikyuuBoardLook
Parameters
| Name | Type | Description |
|---|---|---|
board | MeikyuuBoardLook | "paper" | "wood" | "green" | "blue" | "red" | "black" | undefined | The native arrow board or named maze appearance specified by this signature. |
Returns
MeikyuuBoardLook
The look a board name or board object means.
Examples
import { boardLookOf } from "@johnmorrisdotca/meikyuu/draw";
console.log(boardLookOf("paper"));{
paper: '#fbf8f1',
wall: '#1f2320',
frame: '#a98954',
dark: false,
trail: '#2e8b57'
}What it prints (run when this page was built)