Skip to the content

Jarajaraジャラジャラ

Draw mahjong tiles, arrange racks and stacked boards, and play seeded Awase alone or at a shared table.

Jarajara is the Japanese sound of mahjong tiles rattling together. About the name

Contents

Reference · SVG faces and looks

LayoutFrametype

The drawing's viewBox: where it starts and how large it is, in the face's units.

Import it

import type { LayoutFrame } from "@johnmorrisdotca/jarajara/faces";

Definition

type LayoutFrame = {
    x: number;
    y: number;
    width: number;
    height: number;
};

Members

NameTypeDescription
xnumber
ynumber
widthnumber
heightnumber

Examples

import type { LayoutFrame } from "@johnmorrisdotca/jarajara/faces";
import { layoutFrame } from "@johnmorrisdotca/jarajara/faces";

const value: LayoutFrame = layoutFrame(4)!;
console.log(value);
{ x: 0, y: 5, width: 125, height: 55 }

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/jarajara 1.7.0.