import Margin from './margin'; /** * Dims is short for Dimensions lol */ export default class Dims { private _h; private _w; constructor(h?: number, w?: number); height(): number; width(): number; setHeight(h: number): void; setWidth(w: number): void; /** * Returns both height and width */ both(): { height: number; width: number; }; /** * Returns height and width with respect to a margin instance * @param mar * @returns */ marDims(mar: Margin): { height: number; width: number; }; }