Interface Block

import { Block } from "blockwise";

const block: Block = { x: 0, y: 0, w: 1, h: 1 };
console.log(block);
interface Block {
    h: number;
    w: number;
    x: number;
    y: number;
}

Properties

h w x y

Properties

h: number
w: number
x: number
y: number