Source code

Revision control

Copy as Markdown

Other Tools

---
root:
items:
- type: rect
bounds: [25, 25, 100, 100]
color: red
- type: clip
id: 2
image-mask:
# premultiplied 0.5 alpha white(??)
image: solid-color(127,127,127,127,200,200)
rect: [0, 0, 200, 200]
tile-size: 10
repeat: false
-
type: "clip-chain"
id: 3
clips: [2]
- type: stacking-context
bounds: [0, 0, 200, 200]
clip-chain: 3
items:
- type: rect
bounds: [0, 0, 100, 100]
color: blue
- type: rect
bounds: [50, 50, 100, 100]
color: green