1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
# this tests opacity rectangle overlapping with opaque one
root:
items:
- type: stacking-context
bounds: [10, 10, 500, 500]
items:
- type: rect
bounds: [10, 10, 100, 100]
color: [128, 0, 0]
- type: stacking-context
bounds: [10, 10, 500, 500]
filters: [opacity(0.75)]
items:
- type: rect
bounds: [10, 10, 100, 100]
color: [0, 0, 128]
|