def mask.shape
import gralha-coverage@0.1.0.1/cover.bend as Coverimport Base
1240def mask.shape(aligned: Bool, +xs: List<&2, CovLine>, +even: Bool, +width: U32, +height: U32, +sub: U32, +box: CovBox, +trees: Bool) -> CovMask:
1241 match aligned:
1242 case True{}: mask.rect(width, height, box, trees)
1243 case False{}: mask.box(xs, even, width, height, sub, box, trees)