Reference · SVG faces and looks
faceEdgeSvgfunction
The outline and the raised edge laid over a face, in the face's own units.
Import it
import { faceEdgeSvg } from "@johnmorrisdotca/jarajara/faces";
Definition
function faceEdgeSvg(colours: BlockColours): string
Parameters
| Name | Type | Description |
|---|---|---|
colours | BlockColours | The solid tile block’s colours. |
Returns
string
The outline and the raised edge laid over a face, in the face's own units.
Examples
import { blockColours, faceEdgeSvg } from "@johnmorrisdotca/jarajara/faces";
console.log(faceEdgeSvg(blockColours()).length);255What it prints (run when this page was built)