Reference · SVG faces and looks
TILE_MIRRORSconstant
The ways a board may be looked at: as it is, turned left to right, turned top to bottom, or both. The rules never see it.
Import it
import { TILE_MIRRORS } from "@johnmorrisdotca/jarajara/faces";
Definition
const TILE_MIRRORS: readonly ["none", "horizontal", "vertical", "both"] = ["none", "horizontal", "vertical", "both"] as const
Examples
import { TILE_MIRRORS } from "@johnmorrisdotca/jarajara/faces";
console.log(TILE_MIRRORS);[ 'none', 'horizontal', 'vertical', 'both' ]What it prints (run when this page was built)