Subtracts width/height of b from a (ie: a - b), returning result.
x,y of second parameter is ignored.
const rectA = { width: 100, height: 100 };
const rectB = { width: 200, height: 200 };
// Yields: { width: -100, height: -100 }
Rects.subtract(rectA, rectB);
Subtracts width/height of b from a (ie: a - b), returning result.
x,y of second parameter is ignored.
const rectA = { width: 100, height: 100 };
const rectB = { width: 200, height: 200 };
// Yields: { width: -100, height: -100 }
Rects.subtract(rectA, rectB);
Subtracts width/height of b from a (ie: a - b), returning result.
x,y of second parameter is ignored.
const rectA = { width: 100, height: 100 };
const rectB = { width: 200, height: 200 };
// Yields: { width: -100, height: -100 }
Rects.subtract(rectA, rectB);
Subtracts width/height from
a.Param: a
Param: b
Param: c
Returns