export function subtract()

in src/shapes/shapes.ts [103:110]


    export function subtract(rect: IRect, rect2: IRect): IRect {
        return {
            left: rect.left - rect2.left,
            top: rect.top - rect2.top,
            height: rect.height - rect2.height,
            width: rect.width - rect2.width
        };
    }