mask-atomicity-tiling.yaml (614B)
1 --- 2 root: 3 items: 4 - type: rect 5 bounds: [25, 25, 100, 100] 6 color: red 7 - type: clip 8 id: 2 9 image-mask: 10 # premultiplied 0.5 alpha white(??) 11 image: solid-color(127,127,127,127,200,200) 12 rect: [0, 0, 200, 200] 13 tile-size: 10 14 repeat: false 15 - 16 type: "clip-chain" 17 id: 3 18 clips: [2] 19 - type: stacking-context 20 bounds: [0, 0, 200, 200] 21 clip-chain: 3 22 items: 23 - type: rect 24 bounds: [0, 0, 100, 100] 25 color: blue 26 - type: rect 27 bounds: [50, 50, 100, 100] 28 color: green