def mask.lined.pick
import gralha-coverage@0.1.0.1/cover.bend as Coverimport Base
1267def mask.lined.pick(few: Bool, xs: List<&2, CovLine>, box: CovBox, +even: Bool, +width: U32, +height: U32, +sub: U32, +trees: Bool) -> CovMask:
1268 match few:
1269 case True{}:
1270 +ls = xs
1271 +b = box
1272 mask.shape(rect.aligned(ls, b), ls, even, width, height, sub, b, trees)
1273 case False{}: mask.box(xs, even, width, height, sub, box, trees)