Reference · SVG faces and looks
TileSymbolOptionstype
How a set of symbols is made.
Import it
import type { TileSymbolOptions } from "@johnmorrisdotca/jarajara/faces";
Definition
type TileSymbolOptions = {
design?: TileDesign;
faces?: Iterable<string>;
red?: boolean;
};
Members
| Name | Type | Description |
|---|---|---|
design (optional) | TileDesign | undefined | A design's drawings instead of Jarajara's own. |
faces (optional) | Iterable<string> | undefined | Only these faces' symbols, for a board that holds few of them. Unless said, all 42. |
red (optional) | boolean | undefined | Also a symbol of each red five, |
Examples
import type { TileSymbolOptions } from "@johnmorrisdotca/jarajara/faces";
const value: TileSymbolOptions = {faces:["a","F"],red:true};
console.log(value);{ faces: [ 'a', 'F' ], red: true }What it prints (run when this page was built)