static Area scanlineBitMatrixToArea(ScanlineBitMatrix m) { ret joinAreas(map(m.runs(), r -> new Area(toRectangle(r)))); }