static L g22_allBorderTraces_withDiagonals(IImageRegion region) { RegionBorder_innerPoints_withDiagonals walker = new(region); new L out; walker.onNewTrace(hole -> out.add(new PtBuffer)); walker.onFoundPoint(p -> last(out).add(p)); walker.run(); ret out; }