Reference · SVG faces and looks
tileBodySvgfunction
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 it
import { tileBodySvg } from "@johnmorrisdotca/jarajara/faces";
Definition
function tileBodySvg(design: TileDesign | undefined): string | null
Parameters
| Name | Type | Description |
|---|---|---|
design | TileDesign | undefined | The optional tile artwork design. |
Returns
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.
Examples
import { jarajaraDesign, tileBodySvg } from "@johnmorrisdotca/jarajara/faces";
console.log(tileBodySvg(jarajaraDesign()));nullWhat it prints (run when this page was built)