Reference · Rules, tiles and records
Boundstype
The rows and columns a grid's tiles stand within.
Import it
import type { Bounds } from "@johnmorrisdotca/kumimoji";
Definition
type Bounds = {
top: number;
left: number;
bottom: number;
right: number;
};
Members
| Name | Type | Description |
|---|---|---|
top | number | |
left | number | |
bottom | number | |
right | number |
Examples
import type { Bounds } from "@johnmorrisdotca/kumimoji";
const value: Bounds = {top:0,left:0,bottom:0,right:2};
console.log(value);{ top: 0, left: 0, bottom: 0, right: 2 }What it prints (run when this page was built)