in src/touch/shapes.ts [67:69]
public static isEmpty(rect: Rectangle): boolean { return !(rect !== undefined && rect.width >= 0 && rect.height >= 0); }