Source code
Revision control
Copy as Markdown
Other Tools
# this tests opacity pre-multiplied color
root:
items:
- type: stacking-context
bounds: [10, 10, 500, 500]
filters: [opacity(0.9)]
items:
- type: rect
bounds: [10, 10, 100, 100]
color: [255, 255, 0, 0.2]