kidsRoomfunction
The room a sheet's picture has on a page, in millimetres: the page inside its margins, less the header and the footer.
Import it
import { kidsRoom } from "@johnmorrisdotca/wakusei-planets/sheets";
Definition
function kidsRoom(page: PageName, orientation?: Orientation): { widthMm: number; heightMm: number; }
Parameters
| Name | Type | Description |
|---|---|---|
page | PageName |
|
orientation (optional) | Orientation |
|
Returns
{ widthMm: number; heightMm: number; }
The width and height.
Examples
import { kidsRoom } from "@johnmorrisdotca/wakusei-planets/sheets";
console.log(kidsRoom("a4", "portrait"));{ widthMm: 184.6, heightMm: 182.60000000000002 }What it prints (run when this page was built)