Source code
Revision control
Copy as Markdown
Other Tools
# Test that flood filter is equivalent to drawing a rect with the same size and color
---
root:
items:
- type: stacking-context
bounds: [100, 100, 400, 400]
filters: flood([0, 255.0, 0, 0.4])
items:
- image: "firefox.png"
bounds: 20 20 256 256